#A17EFD#A17EFD
#A17EFD is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.3% C 0.182 H 293.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A17EFD |
|---|---|
| RGB | rgb(161, 126, 253) |
| HSL | hsl(257, 97%, 74%) |
| HSV | hsv(257, 50%, 99%) |
| CMYK | cmyk(36.4%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(61.30, 41.15, -58.85) |
| CIE-LCH | lch(61.30, 71.81, 304.96°) |
| OKLab | oklab(68.32% 0.0732 -0.1665) |
| OKLCH | oklch(68.32% 0.182 293.7) |
| XYZ | xyz(39.8838, 29.5898, 96.5195) |
| Luminance | 0.2959 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.05
Light Urple
#B36FF6
ΔE00 5.45
Lavender Blue
#8B88F8
ΔE00 5.70
Mediumpurple
#9370DB
ΔE00 6.36
Light Purple
#BF77F6
ΔE00 6.44
Easter Purple
#C071FE
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17EFD #DAFD7E
analogous
#7E9BFD #A17EFD #E07EFD
triadic
#A17EFD #FDA17E #7EFDA1
tetradic
#A17EFD #FD7E9B #DAFD7E #7EFDE0
square
#A17EFD #FD7E9B #DAFD7E #7EFDE0
split-complementary
#A17EFD #FDE07E #9BFD7E
monochromatic
#4905FB #7542FC #A17EFD #CDBAFE #E9E1FF
Accessibility & contrast
On white
3.04
#A17EFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#A17EFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17EFD
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17EFD | 1.00 | 3.04 | 6.92 | 6.92 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#5392FA
Tritanopia (blue-blind)
#8A97B2
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a17efd; /* rgb */ color: rgb(161, 126, 253); /* oklch */ color: oklch(68.3% 0.182 293.7);
Tailwind
colors: {
custom: {
50: '#c1a4ff',
500: '#a17efd',
950: '#000000',
},
}SCSS
$custom: #a17efd; $custom-light: #c1a4ff; $custom-dark: #000000;
JSON
{
"hex": "#a17efd",
"rgb": {
"r": 161,
"g": 126,
"b": 253
},
"hsl": {
"h": 256.535,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.68324,
"c": 0.18187,
"h": 293.7
},
"luminance": 0.29591
}Semantic roles & 50–950 ramp
primary
#A17EFD
secondary
#EDF7D4
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86