Skip to content

#A781FD Color

#A781FD is rgb(167, 129, 253) in RGB, hsl(258, 97%, 75%) in HSL, and about cmyk(34%, 49%, 0%, 1%) in CMYK. It has no registered color name of its own — the closest is Medium Purple (#9370DB), visibly different at ΔE 10.71. Black text is the more readable choice on this background.

#A781FD
HEX#A781FD
RGBrgb(167, 129, 253)
HSLhsl(258, 97%, 75%)
HSVhsv(258, 49%, 99%)
CMYKcmyk(34%, 49%, 0%, 1%)
OKLCHoklch(69.4% 0.178 295.5)
LABlab(61.90% 35.10 -57.52)
LCHlch(61.90% 67.38 301.40)

What #A781FD Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #A781FD, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every purple in the library.

#A781FD Channel Values

How #A781FD breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 167 · G 129 · B 2538-bit channels as sent to the display
HSLH 258° · S 97% · L 75%Easiest model for building lighter and darker variants
HSVH 258° · S 49% · V 99%Matches the picker in most design tools
CMYKC 34% · M 49% · Y 0% · K 1%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.92:1 vs white · 7.2:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #A781FD background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text2.92:1AA normal AA large AAA normal
TextBlack text7.2:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #A781FD in the contrast checker.

Colors That Go With #A781FD

Pairings derived from color-wheel relationships. The complementary color sits opposite #A781FD; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #A781FD

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #A781FD.

How #A781FD Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#A781FD
Protanopia#8888FD
Protanomaly#9686FD
Deuteranopia#8F8FFC
Deuteranomaly#998AFD
Tritanopia#929898
Tritanomaly#9B90C9
Achromatopsia#979797

Test a full palette in the color blindness simulator.

Using #A781FD in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-a781fd: #A781FD;
CSS backgroundbackground-color: #A781FD;
Tailwind configcolors: { 'color-a781fd': '#A781FD' }
SwiftUIColor(red: 0.655, green: 0.506, blue: 0.992)
Android XML<color name="color_a781fd">#A781FD</color>
SVG fillfill="#A781FD"

More Purple Colors

#A781FD sits in the purple family. These are its neighbours across that family's full range, each with its own breakdown.

#A781FD Frequently Asked Questions

What color is #A781FD?

#A781FD is a light purple — rgb(167, 129, 253) in RGB and hsl(258, 97%, 75%) in HSL. It carries no registered color name of its own; the closest named color is Medium Purple (#9370DB), which is visibly different at a CIE76 distance of 10.71.

What is the RGB value of #A781FD?

#A781FD is rgb(167, 129, 253) — red 167, green 129, and blue 253 on the 0-255 scale.

What is the CMYK value of #A781FD?

#A781FD converts to approximately cmyk(34%, 49%, 0%, 1%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #A781FD be black or white?

Black text is the more readable choice. #A781FD scores 2.92:1 against white and 7.2:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #A781FD as a CSS color keyword?

No. #A781FD is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is mediumpurple (#9370DB) at a CIE76 distance of 10.71, which is visibly different.

Open #A781FD in a Tool

Keep exploring: every purple in the color library, the guide to shades of purple, or the full color library.