#A856EA#A856EA
#A856EA is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.218 H 306.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A856EA |
|---|---|
| RGB | rgb(168, 86, 234) |
| HSL | hsl(273, 78%, 63%) |
| HSV | hsv(273, 63%, 92%) |
| CMYK | cmyk(28.2%, 63.2%, 0%, 8.2%) |
| CIE-LAB | lab(52.86, 59.24, -61.78) |
| CIE-LCH | lch(52.86, 85.59, 313.79°) |
| OKLab | oklab(61.93% 0.1297 -0.1748) |
| OKLCH | oklch(61.93% 0.218 306.6) |
| XYZ | xyz(34.3244, 20.9213, 80.0559) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.30
Lighter Purple
#A55AF4
ΔE00 1.88
Mediumorchid
#BA55D3
ΔE00 5.55
Purpley
#8756E4
ΔE00 6.06
Light Urple
#B36FF6
ΔE00 6.53
Bright Lilac
#C95EFB
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A856EA #98EA56
analogous
#5E56EA #A856EA #EA56E2
triadic
#A856EA #EAA856 #56EAA8
tetradic
#A856EA #EA5E56 #98EA56 #56E2EA
square
#A856EA #EA5E56 #98EA56 #56E2EA
split-complementary
#A856EA #E2EA56 #56EA5E
monochromatic
#6B16B0 #8C20E3 #A856EA #C48CF1 #E0C3F8
Accessibility & contrast
On white
4.05
#A856EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#A856EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A856EA
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A856EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A856EA | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#9D7598
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a856ea; /* rgb */ color: rgb(168, 86, 234); /* oklch */ color: oklch(61.9% 0.218 306.6);
Tailwind
colors: {
custom: {
50: '#c68af1',
500: '#a856ea',
950: '#000000',
},
}SCSS
$custom: #a856ea; $custom-light: #c68af1; $custom-dark: #000000;
JSON
{
"hex": "#a856ea",
"rgb": {
"r": 168,
"g": 86,
"b": 234
},
"hsl": {
"h": 273.243,
"s": 77.895,
"l": 62.745
},
"oklch": {
"l": 0.61935,
"c": 0.21767,
"h": 306.6
},
"luminance": 0.20921
}Semantic roles & 50–950 ramp
primary
#A856EA
secondary
#CBE9B3
accent
#DA0B68
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85