#A170E5#A170E5
#A170E5 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.6% C 0.173 H 301.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A170E5 |
|---|---|
| RGB | rgb(161, 112, 229) |
| HSL | hsl(265, 69%, 67%) |
| HSV | hsv(265, 51%, 90%) |
| CMYK | cmyk(29.7%, 51.1%, 0%, 10.2%) |
| CIE-LAB | lab(56.90, 42.89, -52.55) |
| CIE-LCH | lch(56.90, 67.83, 309.22°) |
| OKLab | oklab(64.63% 0.0891 -0.148) |
| OKLCH | oklch(64.63% 0.173 301) |
| XYZ | xyz(34.6317, 24.8224, 77.0802) |
| Luminance | 0.2482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.90
Light Urple
#B36FF6
ΔE00 3.68
Lighter Purple
#A55AF4
ΔE00 5.50
Light Purple
#BF77F6
ΔE00 5.88
Easter Purple
#C071FE
ΔE00 5.97
Deep Lilac
#966EBD
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170E5 #B4E570
analogous
#707AE5 #A170E5 #DC70E5
triadic
#A170E5 #E5A170 #70E5A1
tetradic
#A170E5 #E5707A #B4E570 #70E5DC
square
#A170E5 #E5707A #B4E570 #70E5DC
split-complementary
#A170E5 #E5DC70 #7AE570
monochromatic
#6122B9 #7F3CDC #A170E5 #C3A4EE #E5D8F8
Accessibility & contrast
On white
3.52
#A170E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#A170E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170E5
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170E5 | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4888E9
Deuteranopia (green-blind)
#5588E2
Tritanopia (blue-blind)
#9486A0
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a170e5; /* rgb */ color: rgb(161, 112, 229); /* oklch */ color: oklch(64.6% 0.173 301.0);
Tailwind
colors: {
custom: {
50: '#c09aee',
500: '#a170e5',
950: '#000000',
},
}SCSS
$custom: #a170e5; $custom-light: #c09aee; $custom-dark: #000000;
JSON
{
"hex": "#a170e5",
"rgb": {
"r": 161,
"g": 112,
"b": 229
},
"hsl": {
"h": 265.128,
"s": 69.231,
"l": 66.863
},
"oklch": {
"l": 0.64625,
"c": 0.17278,
"h": 301
},
"luminance": 0.24823
}Semantic roles & 50–950 ramp
primary
#A170E5
secondary
#DBEBC6
accent
#D11482
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84