#A170E6#A170E6
#A170E6 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.7% C 0.174 H 300.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A170E6 |
|---|---|
| RGB | rgb(161, 112, 230) |
| HSL | hsl(265, 70%, 67%) |
| HSV | hsv(265, 51%, 90%) |
| CMYK | cmyk(30%, 51.3%, 0%, 9.8%) |
| CIE-LAB | lab(56.96, 43.13, -53.03) |
| CIE-LCH | lch(56.96, 68.35, 309.13°) |
| OKLab | oklab(64.68% 0.0891 -0.1494) |
| OKLCH | oklch(64.68% 0.174 300.8) |
| XYZ | xyz(34.7717, 24.8784, 77.8177) |
| Luminance | 0.2488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.95
Light Urple
#B36FF6
ΔE00 3.61
Lighter Purple
#A55AF4
ΔE00 5.44
Light Purple
#BF77F6
ΔE00 5.86
Easter Purple
#C071FE
ΔE00 5.92
Deep Lilac
#966EBD
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170E6 #B5E670
analogous
#707AE6 #A170E6 #DC70E6
triadic
#A170E6 #E6A170 #70E6A1
tetradic
#A170E6 #E6707A #B5E670 #70E6DC
square
#A170E6 #E6707A #B5E670 #70E6DC
split-complementary
#A170E6 #E6DC70 #7AE670
monochromatic
#6121BB #7F3CDD #A170E6 #C3A4EF #E5D8F8
Accessibility & contrast
On white
3.51
#A170E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#A170E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170E6
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170E6 | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4788EA
Deuteranopia (green-blind)
#5588E3
Tritanopia (blue-blind)
#9386A1
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a170e6; /* rgb */ color: rgb(161, 112, 230); /* oklch */ color: oklch(64.7% 0.174 300.8);
Tailwind
colors: {
custom: {
50: '#c09aee',
500: '#a170e6',
950: '#000000',
},
}SCSS
$custom: #a170e6; $custom-light: #c09aee; $custom-dark: #000000;
JSON
{
"hex": "#a170e6",
"rgb": {
"r": 161,
"g": 112,
"b": 230
},
"hsl": {
"h": 264.915,
"s": 70.238,
"l": 67.059
},
"oklch": {
"l": 0.64684,
"c": 0.174,
"h": 300.8
},
"luminance": 0.24879
}Semantic roles & 50–950 ramp
primary
#A170E6
secondary
#DCECC6
accent
#D21383
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84