#A17DF2#A17DF2
#A17DF2 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.5% C 0.169 H 295.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A17DF2 |
|---|---|
| RGB | rgb(161, 125, 242) |
| HSL | hsl(258, 82%, 72%) |
| HSV | hsv(258, 48%, 95%) |
| CMYK | cmyk(33.5%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(60.48, 38.88, -54.10) |
| CIE-LCH | lch(60.48, 66.62, 305.71°) |
| OKLab | oklab(67.52% 0.0735 -0.1526) |
| OKLCH | oklch(67.52% 0.169 295.7) |
| XYZ | xyz(38.0545, 28.6545, 87.5131) |
| Luminance | 0.2866 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.89
Light Urple
#B36FF6
ΔE00 4.95
Mediumpurple
#9370DB
ΔE00 5.17
Light Purple
#BF77F6
ΔE00 5.94
Lavender Blue
#8B88F8
ΔE00 6.27
Easter Purple
#C071FE
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17DF2 #CEF27D
analogous
#7D94F2 #A17DF2 #DC7DF2
triadic
#A17DF2 #F2A17D #7DF2A1
tetradic
#A17DF2 #F27D94 #CEF27D #7DF2DC
square
#A17DF2 #F27D94 #CEF27D #7DF2DC
split-complementary
#A17DF2 #F2DC7D #94F27D
monochromatic
#5416DE #7945EC #A17DF2 #C9B5F8 #EBE3FC
Accessibility & contrast
On white
3.12
#A17DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#A17DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17DF2
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17DF2 | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#8F94AC
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a17df2; /* rgb */ color: rgb(161, 125, 242); /* oklch */ color: oklch(67.5% 0.169 295.7);
Tailwind
colors: {
custom: {
50: '#c0a3f7',
500: '#a17df2',
950: '#000000',
},
}SCSS
$custom: #a17df2; $custom-light: #c0a3f7; $custom-dark: #000000;
JSON
{
"hex": "#a17df2",
"rgb": {
"r": 161,
"g": 125,
"b": 242
},
"hsl": {
"h": 258.462,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.67515,
"c": 0.16934,
"h": 295.7
},
"luminance": 0.28655
}Semantic roles & 50–950 ramp
primary
#A17DF2
secondary
#EBF4D7
accent
#DE079C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85