#A17EFF#A17EFF
#A17EFF is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.184 H 293.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A17EFF |
|---|---|
| RGB | rgb(161, 126, 255) |
| HSL | hsl(256, 100%, 75%) |
| HSV | hsv(256, 51%, 100%) |
| CMYK | cmyk(36.9%, 50.6%, 0%, 0%) |
| CIE-LAB | lab(61.41, 41.67, -59.77) |
| CIE-LCH | lch(61.41, 72.86, 304.88°) |
| OKLab | oklab(68.44% 0.0733 -0.1692) |
| OKLCH | oklch(68.44% 0.184 293.4) |
| XYZ | xyz(40.2041, 29.7179, 98.2063) |
| Luminance | 0.2972 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.98
Light Urple
#B36FF6
ΔE00 5.55
Lavender Blue
#8B88F8
ΔE00 5.68
Light Purple
#BF77F6
ΔE00 6.55
Mediumpurple
#9370DB
ΔE00 6.57
Easter Purple
#C071FE
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17EFF #DCFF7E
analogous
#7E9CFF #A17EFF #E17EFF
triadic
#A17EFF #FFA17E #7EFFA1
tetradic
#A17EFF #FF7E9C #DCFF7E #7EFFE1
square
#A17EFF #FF7E9C #DCFF7E #7EFFE1
split-complementary
#A17EFF #FFE17E #9CFF7E
monochromatic
#4804FF #7441FF #A17EFF #CEBBFF #E9E0FF
Accessibility & contrast
On white
3.02
#A17EFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#A17EFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17EFF
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17EFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17EFF | 1.00 | 3.02 | 6.94 | 6.94 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A96FF
Deuteranopia (green-blind)
#5192FC
Tritanopia (blue-blind)
#8A98B3
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a17eff; /* rgb */ color: rgb(161, 126, 255); /* oklch */ color: oklch(68.4% 0.184 293.4);
Tailwind
colors: {
custom: {
50: '#c1a4ff',
500: '#a17eff',
950: '#000000',
},
}SCSS
$custom: #a17eff; $custom-light: #c1a4ff; $custom-dark: #000000;
JSON
{
"hex": "#a17eff",
"rgb": {
"r": 161,
"g": 126,
"b": 255
},
"hsl": {
"h": 256.279,
"s": 100,
"l": 74.706
},
"oklch": {
"l": 0.68443,
"c": 0.1844,
"h": 293.4
},
"luminance": 0.29719
}Semantic roles & 50–950 ramp
primary
#A17EFF
secondary
#EEF7D4
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86