#A17EF8#A17EF8
#A17EF8 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.0% C 0.176 H 294.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A17EF8 |
|---|---|
| RGB | rgb(161, 126, 248) |
| HSL | hsl(257, 90%, 73%) |
| HSV | hsv(257, 49%, 97%) |
| CMYK | cmyk(35.1%, 49.2%, 0%, 2.7%) |
| CIE-LAB | lab(61.02, 39.86, -56.54) |
| CIE-LCH | lch(61.02, 69.17, 305.18°) |
| OKLab | oklab(68.03% 0.0728 -0.1597) |
| OKLCH | oklch(68.03% 0.176 294.5) |
| XYZ | xyz(39.0977, 29.2753, 92.3795) |
| Luminance | 0.2928 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.31
Light Urple
#B36FF6
ΔE00 5.27
Lavender Blue
#8B88F8
ΔE00 5.82
Mediumpurple
#9370DB
ΔE00 5.87
Light Purple
#BF77F6
ΔE00 6.22
Easter Purple
#C071FE
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17EF8 #D5F87E
analogous
#7E98F8 #A17EF8 #DE7EF8
triadic
#A17EF8 #F8A17E #7EF8A1
tetradic
#A17EF8 #F87E98 #D5F87E #7EF8DE
square
#A17EF8 #F87E98 #D5F87E #7EF8DE
split-complementary
#A17EF8 #F8DE7E #98F87E
monochromatic
#4E0DEF #7744F5 #A17EF8 #CBB8FB #EAE2FD
Accessibility & contrast
On white
3.06
#A17EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#A17EF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17EF8
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17EF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17EF8 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5194FC
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#8C96AF
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a17ef8; /* rgb */ color: rgb(161, 126, 248); /* oklch */ color: oklch(68.0% 0.176 294.5);
Tailwind
colors: {
custom: {
50: '#c0a4fb',
500: '#a17ef8',
950: '#000000',
},
}SCSS
$custom: #a17ef8; $custom-light: #c0a4fb; $custom-dark: #000000;
JSON
{
"hex": "#a17ef8",
"rgb": {
"r": 161,
"g": 126,
"b": 248
},
"hsl": {
"h": 257.213,
"s": 89.706,
"l": 73.333
},
"oklch": {
"l": 0.6803,
"c": 0.17551,
"h": 294.5
},
"luminance": 0.29276
}Semantic roles & 50–950 ramp
primary
#A17EF8
secondary
#ECF6D5
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85