#A17EFE#A17EFE
#A17EFE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.183 H 293.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A17EFE |
|---|---|
| RGB | rgb(161, 126, 254) |
| HSL | hsl(256, 98%, 75%) |
| HSV | hsv(256, 50%, 100%) |
| CMYK | cmyk(36.6%, 50.4%, 0%, 0.4%) |
| CIE-LAB | lab(61.35, 41.41, -59.31) |
| CIE-LCH | lch(61.35, 72.33, 304.92°) |
| OKLab | oklab(68.38% 0.0733 -0.1678) |
| OKLCH | oklch(68.38% 0.183 293.6) |
| XYZ | xyz(40.0435, 29.6537, 97.3607) |
| Luminance | 0.2965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.01
Light Urple
#B36FF6
ΔE00 5.50
Lavender Blue
#8B88F8
ΔE00 5.68
Mediumpurple
#9370DB
ΔE00 6.47
Light Purple
#BF77F6
ΔE00 6.50
Easter Purple
#C071FE
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17EFE #DBFE7E
analogous
#7E9BFE #A17EFE #E17EFE
triadic
#A17EFE #FEA17E #7EFEA1
tetradic
#A17EFE #FE7E9B #DBFE7E #7EFEE1
square
#A17EFE #FE7E9B #DBFE7E #7EFEE1
split-complementary
#A17EFE #FEE17E #9BFE7E
monochromatic
#4805FD #7541FE #A17EFE #CDBBFE #E9E1FF
Accessibility & contrast
On white
3.03
#A17EFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#A17EFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17EFE
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17EFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17EFE | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#8A98B2
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a17efe; /* rgb */ color: rgb(161, 126, 254); /* oklch */ color: oklch(68.4% 0.183 293.6);
Tailwind
colors: {
custom: {
50: '#c1a4ff',
500: '#a17efe',
950: '#000000',
},
}SCSS
$custom: #a17efe; $custom-light: #c1a4ff; $custom-dark: #000000;
JSON
{
"hex": "#a17efe",
"rgb": {
"r": 161,
"g": 126,
"b": 254
},
"hsl": {
"h": 256.406,
"s": 98.462,
"l": 74.51
},
"oklch": {
"l": 0.68383,
"c": 0.18313,
"h": 293.6
},
"luminance": 0.29655
}Semantic roles & 50–950 ramp
primary
#A17EFE
secondary
#EDF7D4
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86