#A856E8#A856E8
#A856E8 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.216 H 307.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A856E8 |
|---|---|
| RGB | rgb(168, 86, 232) |
| HSL | hsl(274, 76%, 62%) |
| HSV | hsv(274, 63%, 91%) |
| CMYK | cmyk(27.6%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(52.74, 58.79, -60.86) |
| CIE-LCH | lch(52.74, 84.62, 314.01°) |
| OKLab | oklab(61.8% 0.1298 -0.1721) |
| OKLCH | oklch(61.8% 0.216 307) |
| XYZ | xyz(34.0387, 20.8070, 78.5513) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.19
Lighter Purple
#A55AF4
ΔE00 2.15
Mediumorchid
#BA55D3
ΔE00 5.33
Purpley
#8756E4
ΔE00 6.08
Amethyst
#9B5FC0
ΔE00 6.52
Light Urple
#B36FF6
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A856E8 #96E856
analogous
#5F56E8 #A856E8 #E856DF
triadic
#A856E8 #E8A856 #56E8A8
tetradic
#A856E8 #E85F56 #96E856 #56DFE8
square
#A856E8 #E85F56 #96E856 #56DFE8
split-complementary
#A856E8 #DFE856 #56E85F
monochromatic
#6B17AC #8C20E1 #A856E8 #C48CEF #DFC2F7
Accessibility & contrast
On white
4.07
#A856E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#A856E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A856E8
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A856E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A856E8 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#387FE5
Tritanopia (blue-blind)
#9E7497
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a856e8; /* rgb */ color: rgb(168, 86, 232); /* oklch */ color: oklch(61.8% 0.216 307.0);
Tailwind
colors: {
custom: {
50: '#c68af0',
500: '#a856e8',
950: '#000000',
},
}SCSS
$custom: #a856e8; $custom-light: #c68af0; $custom-dark: #000000;
JSON
{
"hex": "#a856e8",
"rgb": {
"r": 168,
"g": 86,
"b": 232
},
"hsl": {
"h": 273.699,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.61804,
"c": 0.21558,
"h": 307
},
"luminance": 0.20807
}Semantic roles & 50–950 ramp
primary
#A856E8
secondary
#CAE8B2
accent
#D80D66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85