#A17AF2#A17AF2
#A17AF2 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.0% C 0.174 H 296.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #A17AF2 |
|---|---|
| RGB | rgb(161, 122, 242) |
| HSL | hsl(260, 82%, 71%) |
| HSV | hsv(260, 50%, 95%) |
| CMYK | cmyk(33.5%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(59.80, 40.57, -55.17) |
| CIE-LCH | lch(59.80, 68.48, 306.33°) |
| OKLab | oklab(67.01% 0.0773 -0.1557) |
| OKLCH | oklch(67.01% 0.174 296.4) |
| XYZ | xyz(37.6805, 27.9064, 87.3884) |
| Luminance | 0.2791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.36
Mediumpurple
#9370DB
ΔE00 4.69
Periwinkle (survey)
#8E82FE
ΔE00 5.26
Light Purple
#BF77F6
ΔE00 5.72
Easter Purple
#C071FE
ΔE00 5.97
Lavender Blue
#8B88F8
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17AF2 #CBF27A
analogous
#7A8FF2 #A17AF2 #DD7AF2
triadic
#A17AF2 #F2A17A #7AF2A1
tetradic
#A17AF2 #F27A8F #CBF27A #7AF2DD
square
#A17AF2 #F27A8F #CBF27A #7AF2DD
split-complementary
#A17AF2 #F2DD7A #8FF27A
monochromatic
#5616DC #7A42ED #A17AF2 #C8B2F7 #EBE3FC
Accessibility & contrast
On white
3.19
#A17AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#A17AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17AF2
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17AF2 | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#578FEF
Tritanopia (blue-blind)
#8F91AB
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a17af2; /* rgb */ color: rgb(161, 122, 242); /* oklch */ color: oklch(67.0% 0.174 296.4);
Tailwind
colors: {
custom: {
50: '#c0a1f7',
500: '#a17af2',
950: '#000000',
},
}SCSS
$custom: #a17af2; $custom-light: #c0a1f7; $custom-dark: #000000;
JSON
{
"hex": "#a17af2",
"rgb": {
"r": 161,
"g": 122,
"b": 242
},
"hsl": {
"h": 259.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.67014,
"c": 0.17383,
"h": 296.4
},
"luminance": 0.27907
}Semantic roles & 50–950 ramp
primary
#A17AF2
secondary
#E9F3D4
accent
#DF0798
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85