#A17FF9#A17FF9
#A17FF9 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.3% C 0.175 H 294.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A17FF9 |
|---|---|
| RGB | rgb(161, 127, 249) |
| HSL | hsl(257, 91%, 74%) |
| HSV | hsv(257, 49%, 98%) |
| CMYK | cmyk(35.3%, 49%, 0%, 2.4%) |
| CIE-LAB | lab(61.30, 39.55, -56.64) |
| CIE-LCH | lch(61.30, 69.09, 304.93°) |
| OKLab | oklab(68.26% 0.0716 -0.16) |
| OKLCH | oklch(68.26% 0.175 294.1) |
| XYZ | xyz(39.3818, 29.5946, 93.2416) |
| Luminance | 0.2959 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.15
Light Urple
#B36FF6
ΔE00 5.51
Lavender Blue
#8B88F8
ΔE00 5.62
Mediumpurple
#9370DB
ΔE00 6.13
Light Purple
#BF77F6
ΔE00 6.37
Perrywinkle
#8F8CE7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17FF9 #D7F97F
analogous
#7F9AF9 #A17FF9 #DE7FF9
triadic
#A17FF9 #F9A17F #7FF9A1
tetradic
#A17FF9 #F97F9A #D7F97F #7FF9DE
square
#A17FF9 #F97F9A #D7F97F #7FF9DE
split-complementary
#A17FF9 #F9DE7F #9AF97F
monochromatic
#4C0BF2 #7645F6 #A17FF9 #CCB9FC #EAE2FE
Accessibility & contrast
On white
3.04
#A17FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#A17FF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17FF9
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17FF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17FF9 | 1.00 | 3.04 | 6.92 | 6.92 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5295FD
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#8C97B0
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a17ff9; /* rgb */ color: rgb(161, 127, 249); /* oklch */ color: oklch(68.3% 0.175 294.1);
Tailwind
colors: {
custom: {
50: '#c0a5fc',
500: '#a17ff9',
950: '#000000',
},
}SCSS
$custom: #a17ff9; $custom-light: #c0a5fc; $custom-dark: #000000;
JSON
{
"hex": "#a17ff9",
"rgb": {
"r": 161,
"g": 127,
"b": 249
},
"hsl": {
"h": 256.721,
"s": 91.045,
"l": 73.725
},
"oklch": {
"l": 0.68256,
"c": 0.17532,
"h": 294.1
},
"luminance": 0.29595
}Semantic roles & 50–950 ramp
primary
#A17FF9
secondary
#EDF6D5
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85