#A17CFD#A17CFD
#A17CFD is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.185 H 294.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A17CFD |
|---|---|
| RGB | rgb(161, 124, 253) |
| HSL | hsl(257, 97%, 74%) |
| HSV | hsv(257, 51%, 99%) |
| CMYK | cmyk(36.4%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(60.86, 42.27, -59.56) |
| CIE-LCH | lch(60.86, 73.03, 305.36°) |
| OKLab | oklab(67.99% 0.0756 -0.1686) |
| OKLCH | oklch(67.99% 0.185 294.2) |
| XYZ | xyz(39.6306, 29.0834, 96.4351) |
| Luminance | 0.2908 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.30
Light Urple
#B36FF6
ΔE00 5.06
Lavender Blue
#8B88F8
ΔE00 6.06
Mediumpurple
#9370DB
ΔE00 6.08
Light Purple
#BF77F6
ΔE00 6.27
Easter Purple
#C071FE
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17CFD #D8FD7C
analogous
#7C98FD #A17CFD #E17CFD
triadic
#A17CFD #FDA17C #7CFDA1
tetradic
#A17CFD #FD7C98 #D8FD7C #7CFDE1
square
#A17CFD #FD7C98 #D8FD7C #7CFDE1
split-complementary
#A17CFD #FDE17C #98FD7C
monochromatic
#4B04FB #7640FC #A17CFD #CCB8FE #E9E1FF
Accessibility & contrast
On white
3.08
#A17CFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#A17CFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17CFD
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17CFD | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#5091FA
Tritanopia (blue-blind)
#8B96B1
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a17cfd; /* rgb */ color: rgb(161, 124, 253); /* oklch */ color: oklch(68.0% 0.185 294.2);
Tailwind
colors: {
custom: {
50: '#c1a3ff',
500: '#a17cfd',
950: '#000000',
},
}SCSS
$custom: #a17cfd; $custom-light: #c1a3ff; $custom-dark: #000000;
JSON
{
"hex": "#a17cfd",
"rgb": {
"r": 161,
"g": 124,
"b": 253
},
"hsl": {
"h": 257.209,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.67994,
"c": 0.18476,
"h": 294.2
},
"luminance": 0.29084
}Semantic roles & 50–950 ramp
primary
#A17CFD
secondary
#EDF7D4
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86