#A856E6#A856E6
#A856E6 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.213 H 307.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A856E6 |
|---|---|
| RGB | rgb(168, 86, 230) |
| HSL | hsl(274, 74%, 62%) |
| HSV | hsv(274, 63%, 90%) |
| CMYK | cmyk(27%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(52.61, 58.34, -59.94) |
| CIE-LCH | lch(52.61, 83.64, 314.23°) |
| OKLab | oklab(61.67% 0.1299 -0.1694) |
| OKLCH | oklch(61.67% 0.213 307.5) |
| XYZ | xyz(33.7562, 20.6940, 77.0636) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.15
Lighter Purple
#A55AF4
ΔE00 2.42
Mediumorchid
#BA55D3
ΔE00 5.12
Purpley
#8756E4
ΔE00 6.13
Amethyst
#9B5FC0
ΔE00 6.26
Light Urple
#B36FF6
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A856E6 #94E656
analogous
#6056E6 #A856E6 #E656DC
triadic
#A856E6 #E6A856 #56E6A8
tetradic
#A856E6 #E66056 #94E656 #56DCE6
square
#A856E6 #E66056 #94E656 #56DCE6
split-complementary
#A856E6 #DCE656 #56E660
monochromatic
#6B19A9 #8D21DE #A856E6 #C38BEE #DFC1F6
Accessibility & contrast
On white
4.09
#A856E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#A856E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A856E6
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A856E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A856E6 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#3B7EE3
Tritanopia (blue-blind)
#9E7396
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a856e6; /* rgb */ color: rgb(168, 86, 230); /* oklch */ color: oklch(61.7% 0.213 307.5);
Tailwind
colors: {
custom: {
50: '#c68aef',
500: '#a856e6',
950: '#000000',
},
}SCSS
$custom: #a856e6; $custom-light: #c68aef; $custom-dark: #000000;
JSON
{
"hex": "#a856e6",
"rgb": {
"r": 168,
"g": 86,
"b": 230
},
"hsl": {
"h": 274.167,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.61674,
"c": 0.21347,
"h": 307.5
},
"luminance": 0.20694
}Semantic roles & 50–950 ramp
primary
#A856E6
secondary
#C8E6B1
accent
#D60F65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84