#A17FF2#A17FF2
#A17FF2 is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.9% C 0.166 H 295.2°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A17FF2 |
|---|---|
| RGB | rgb(161, 127, 242) |
| HSL | hsl(258, 82%, 72%) |
| HSV | hsv(258, 48%, 95%) |
| CMYK | cmyk(33.5%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(60.93, 37.76, -53.38) |
| CIE-LCH | lch(60.93, 65.38, 305.27°) |
| OKLab | oklab(67.85% 0.0709 -0.1505) |
| OKLCH | oklch(67.85% 0.166 295.2) |
| XYZ | xyz(38.3103, 29.1660, 87.5984) |
| Luminance | 0.2917 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.70
Light Urple
#B36FF6
ΔE00 5.39
Mediumpurple
#9370DB
ΔE00 5.53
Lavender Blue
#8B88F8
ΔE00 5.93
Light Purple
#BF77F6
ΔE00 6.15
Perrywinkle
#8F8CE7
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17FF2 #D0F27F
analogous
#7F97F2 #A17FF2 #DA7FF2
triadic
#A17FF2 #F2A17F #7FF2A1
tetradic
#A17FF2 #F27F97 #D0F27F #7FF2DA
square
#A17FF2 #F27F97 #D0F27F #7FF2DA
split-complementary
#A17FF2 #F2DA7F #97F27F
monochromatic
#5217E0 #7847EC #A17FF2 #CAB7F8 #EBE3FC
Accessibility & contrast
On white
3.07
#A17FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#A17FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17FF2
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17FF2 | 1.00 | 3.07 | 6.83 | 6.83 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#8E95AD
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a17ff2; /* rgb */ color: rgb(161, 127, 242); /* oklch */ color: oklch(67.9% 0.166 295.2);
Tailwind
colors: {
custom: {
50: '#c0a4f7',
500: '#a17ff2',
950: '#000000',
},
}SCSS
$custom: #a17ff2; $custom-light: #c0a4f7; $custom-dark: #000000;
JSON
{
"hex": "#a17ff2",
"rgb": {
"r": 161,
"g": 127,
"b": 242
},
"hsl": {
"h": 257.739,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.67854,
"c": 0.16635,
"h": 295.2
},
"luminance": 0.29167
}Semantic roles & 50–950 ramp
primary
#A17FF2
secondary
#EBF4D7
accent
#DE089F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85