#A856E2#A856E2
#A856E2 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.209 H 308.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A856E2 |
|---|---|
| RGB | rgb(168, 86, 226) |
| HSL | hsl(275, 71%, 61%) |
| HSV | hsv(275, 62%, 89%) |
| CMYK | cmyk(25.7%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(52.37, 57.45, -58.08) |
| CIE-LCH | lch(52.37, 81.69, 314.69°) |
| OKLab | oklab(61.42% 0.1301 -0.164) |
| OKLCH | oklch(61.42% 0.209 308.4) |
| XYZ | xyz(33.2009, 20.4719, 74.1392) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.30
Lighter Purple
#A55AF4
ΔE00 2.99
Mediumorchid
#BA55D3
ΔE00 4.71
Amethyst
#9B5FC0
ΔE00 5.75
Purpley
#8756E4
ΔE00 6.26
Light Urple
#B36FF6
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A856E2 #90E256
analogous
#6256E2 #A856E2 #E256D6
triadic
#A856E2 #E2A856 #56E2A8
tetradic
#A856E2 #E26256 #90E256 #56D6E2
square
#A856E2 #E26256 #90E256 #56D6E2
split-complementary
#A856E2 #D6E256 #56E262
monochromatic
#6A1CA2 #8D25D6 #A856E2 #C38AEB #DEBEF4
Accessibility & contrast
On white
4.12
#A856E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#A856E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A856E2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A856E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A856E2 | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#067AE6
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#9F7294
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a856e2; /* rgb */ color: rgb(168, 86, 226); /* oklch */ color: oklch(61.4% 0.209 308.4);
Tailwind
colors: {
custom: {
50: '#c68aec',
500: '#a856e2',
950: '#000000',
},
}SCSS
$custom: #a856e2; $custom-light: #c68aec; $custom-dark: #000000;
JSON
{
"hex": "#a856e2",
"rgb": {
"r": 168,
"g": 86,
"b": 226
},
"hsl": {
"h": 275.143,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.61417,
"c": 0.20929,
"h": 308.4
},
"luminance": 0.20471
}Semantic roles & 50–950 ramp
primary
#A856E2
secondary
#C5E4B0
accent
#D31362
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84