#A850E4#A850E4
#A850E4 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.219 H 308.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A850E4 |
|---|---|
| RGB | rgb(168, 80, 228) |
| HSL | hsl(276, 73%, 60%) |
| HSV | hsv(276, 65%, 89%) |
| CMYK | cmyk(26.3%, 64.9%, 0%, 10.6%) |
| CIE-LAB | lab(51.46, 60.73, -60.67) |
| CIE-LCH | lch(51.46, 85.84, 315.03°) |
| OKLab | oklab(60.8% 0.1368 -0.1715) |
| OKLCH | oklch(60.8% 0.219 308.6) |
| XYZ | xyz(33.0179, 19.6641, 75.4399) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.73
Lighter Purple
#A55AF4
ΔE00 3.40
Mediumorchid
#BA55D3
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.99
Neon Purple
#BC13FE
ΔE00 6.12
Electric Purple
#AA23FF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A850E4 #8CE450
analogous
#5E50E4 #A850E4 #E450D6
triadic
#A850E4 #E4A850 #50E4A8
tetradic
#A850E4 #E45E50 #8CE450 #50D6E4
square
#A850E4 #E45E50 #8CE450 #50D6E4
split-complementary
#A850E4 #D6E450 #50E45E
monochromatic
#6A19A1 #8D21D6 #A850E4 #C285EC #DDBAF4
Accessibility & contrast
On white
4.26
#A850E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#A850E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A850E4
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A850E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A850E4 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#357CE1
Tritanopia (blue-blind)
#9F6F93
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a850e4; /* rgb */ color: rgb(168, 80, 228); /* oklch */ color: oklch(60.8% 0.219 308.6);
Tailwind
colors: {
custom: {
50: '#c687ed',
500: '#a850e4',
950: '#000000',
},
}SCSS
$custom: #a850e4; $custom-light: #c687ed; $custom-dark: #000000;
JSON
{
"hex": "#a850e4",
"rgb": {
"r": 168,
"g": 80,
"b": 228
},
"hsl": {
"h": 275.676,
"s": 73.267,
"l": 60.392
},
"oklch": {
"l": 0.60799,
"c": 0.2194,
"h": 308.6
},
"luminance": 0.19664
}Semantic roles & 50–950 ramp
primary
#A850E4
secondary
#C3E4AC
accent
#D51060
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84