#A170E4#A170E4
#A170E4 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.6% C 0.172 H 301.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A170E4 |
|---|---|
| RGB | rgb(161, 112, 228) |
| HSL | hsl(265, 68%, 67%) |
| HSV | hsv(265, 51%, 89%) |
| CMYK | cmyk(29.4%, 50.9%, 0%, 10.6%) |
| CIE-LAB | lab(56.85, 42.64, -52.08) |
| CIE-LCH | lch(56.85, 67.31, 309.31°) |
| OKLab | oklab(64.57% 0.089 -0.1467) |
| OKLCH | oklch(64.57% 0.172 301.2) |
| XYZ | xyz(34.4925, 24.7667, 76.3470) |
| Luminance | 0.2477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.86
Light Urple
#B36FF6
ΔE00 3.75
Lighter Purple
#A55AF4
ΔE00 5.55
Light Purple
#BF77F6
ΔE00 5.91
Easter Purple
#C071FE
ΔE00 6.03
Deep Lilac
#966EBD
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170E4 #B3E470
analogous
#7079E4 #A170E4 #DB70E4
triadic
#A170E4 #E4A170 #70E4A1
tetradic
#A170E4 #E47079 #B3E470 #70E4DB
square
#A170E4 #E47079 #B3E470 #70E4DB
split-complementary
#A170E4 #E4DB70 #79E470
monochromatic
#6123B7 #7F3DDA #A170E4 #C3A3EE #E5D7F7
Accessibility & contrast
On white
3.53
#A170E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#A170E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170E4
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170E4 | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4988E8
Deuteranopia (green-blind)
#5688E1
Tritanopia (blue-blind)
#9486A0
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a170e4; /* rgb */ color: rgb(161, 112, 228); /* oklch */ color: oklch(64.6% 0.172 301.2);
Tailwind
colors: {
custom: {
50: '#c09aed',
500: '#a170e4',
950: '#000000',
},
}SCSS
$custom: #a170e4; $custom-light: #c09aed; $custom-dark: #000000;
JSON
{
"hex": "#a170e4",
"rgb": {
"r": 161,
"g": 112,
"b": 228
},
"hsl": {
"h": 265.345,
"s": 68.235,
"l": 66.667
},
"oklch": {
"l": 0.64567,
"c": 0.17156,
"h": 301.2
},
"luminance": 0.24767
}Semantic roles & 50–950 ramp
primary
#A170E4
secondary
#DBEBC5
accent
#D01581
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84