#A856CD#A856CD
#A856CD is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.1% C 0.187 H 314.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A856CD |
|---|---|
| RGB | rgb(168, 86, 205) |
| HSL | hsl(281, 54%, 57%) |
| HSV | hsv(281, 58%, 80%) |
| CMYK | cmyk(18%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(51.14, 52.90, -48.10) |
| CIE-LCH | lch(51.14, 71.50, 317.72°) |
| OKLab | oklab(60.13% 0.1301 -0.1347) |
| OKLCH | oklch(60.13% 0.187 314) |
| XYZ | xyz(30.4939, 19.3891, 59.8819) |
| Luminance | 0.1939 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.40
Amethyst
#9B5FC0
ΔE00 3.44
Lightish Purple
#A552E6
ΔE00 4.17
Deep Lavender
#8D5EB7
ΔE00 6.02
Lighter Purple
#A55AF4
ΔE00 6.28
Pinky Purple
#C94CBE
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A856CD #7BCD56
analogous
#6D56CD #A856CD #CD56B6
triadic
#A856CD #CDA856 #56CDA8
tetradic
#A856CD #CD6D56 #7BCD56 #56B6CD
square
#A856CD #CD6D56 #7BCD56 #56B6CD
split-complementary
#A856CD #B6CD56 #56CD6D
monochromatic
#662682 #8B34B1 #A856CD #C085DB #D9B4E9
Accessibility & contrast
On white
4.31
#A856CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#A856CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A856CD
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A856CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A856CD | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#527CCA
Tritanopia (blue-blind)
#A56B89
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a856cd; /* rgb */ color: rgb(168, 86, 205); /* oklch */ color: oklch(60.1% 0.187 314.0);
Tailwind
colors: {
custom: {
50: '#c589dd',
500: '#a856cd',
950: '#000000',
},
}SCSS
$custom: #a856cd; $custom-light: #c589dd; $custom-dark: #000000;
JSON
{
"hex": "#a856cd",
"rgb": {
"r": 168,
"g": 86,
"b": 205
},
"hsl": {
"h": 281.345,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.6013,
"c": 0.18733,
"h": 314
},
"luminance": 0.19388
}Semantic roles & 50–950 ramp
primary
#A856CD
secondary
#B6D8A7
accent
#DE4A78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83