#A17EF2#A17EF2
#A17EF2 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.168 H 295.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A17EF2 |
|---|---|
| RGB | rgb(161, 126, 242) |
| HSL | hsl(258, 82%, 72%) |
| HSV | hsv(258, 48%, 95%) |
| CMYK | cmyk(33.5%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(60.70, 38.32, -53.74) |
| CIE-LCH | lch(60.70, 66.00, 305.49°) |
| OKLab | oklab(67.68% 0.0722 -0.1515) |
| OKLCH | oklch(67.68% 0.168 295.5) |
| XYZ | xyz(38.1818, 28.9090, 87.5555) |
| Luminance | 0.2891 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.78
Light Urple
#B36FF6
ΔE00 5.17
Mediumpurple
#9370DB
ΔE00 5.35
Light Purple
#BF77F6
ΔE00 6.04
Lavender Blue
#8B88F8
ΔE00 6.10
Perrywinkle
#8F8CE7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17EF2 #CFF27E
analogous
#7E95F2 #A17EF2 #DB7EF2
triadic
#A17EF2 #F2A17E #7EF2A1
tetradic
#A17EF2 #F27E95 #CFF27E #7EF2DB
square
#A17EF2 #F27E95 #CFF27E #7EF2DB
split-complementary
#A17EF2 #F2DB7E #95F27E
monochromatic
#5316DF #7846EC #A17EF2 #CAB6F8 #EBE3FC
Accessibility & contrast
On white
3.10
#A17EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#A17EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17EF2
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17EF2 | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5693F6
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#8F94AD
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a17ef2; /* rgb */ color: rgb(161, 126, 242); /* oklch */ color: oklch(67.7% 0.168 295.5);
Tailwind
colors: {
custom: {
50: '#c0a4f7',
500: '#a17ef2',
950: '#000000',
},
}SCSS
$custom: #a17ef2; $custom-light: #c0a4f7; $custom-dark: #000000;
JSON
{
"hex": "#a17ef2",
"rgb": {
"r": 161,
"g": 126,
"b": 242
},
"hsl": {
"h": 258.103,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.67684,
"c": 0.16784,
"h": 295.5
},
"luminance": 0.2891
}Semantic roles & 50–950 ramp
primary
#A17EF2
secondary
#EBF4D7
accent
#DE079D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85