#A857E6#A857E6
#A857E6 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.212 H 307.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A857E6 |
|---|---|
| RGB | rgb(168, 87, 230) |
| HSL | hsl(274, 74%, 62%) |
| HSV | hsv(274, 62%, 90%) |
| CMYK | cmyk(27%, 62.2%, 0%, 9.8%) |
| CIE-LAB | lab(52.79, 57.86, -59.65) |
| CIE-LCH | lch(52.79, 83.10, 314.12°) |
| OKLab | oklab(61.8% 0.1287 -0.1686) |
| OKLCH | oklch(61.8% 0.212 307.4) |
| XYZ | xyz(33.8366, 20.8548, 77.0904) |
| Luminance | 0.2085 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.35
Lighter Purple
#A55AF4
ΔE00 2.34
Mediumorchid
#BA55D3
ΔE00 5.10
Purpley
#8756E4
ΔE00 6.18
Amethyst
#9B5FC0
ΔE00 6.22
Light Urple
#B36FF6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A857E6 #95E657
analogous
#6157E6 #A857E6 #E657DC
triadic
#A857E6 #E6A857 #57E6A8
tetradic
#A857E6 #E66157 #95E657 #57DCE6
square
#A857E6 #E66157 #95E657 #57DCE6
split-complementary
#A857E6 #DCE657 #57E661
monochromatic
#6B19A9 #8C22DE #A857E6 #C48CEE #DFC2F6
Accessibility & contrast
On white
4.06
#A857E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#A857E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A857E6
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A857E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A857E6 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#9E7497
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a857e6; /* rgb */ color: rgb(168, 87, 230); /* oklch */ color: oklch(61.8% 0.212 307.4);
Tailwind
colors: {
custom: {
50: '#c68bef',
500: '#a857e6',
950: '#000000',
},
}SCSS
$custom: #a857e6; $custom-light: #c68bef; $custom-dark: #000000;
JSON
{
"hex": "#a857e6",
"rgb": {
"r": 168,
"g": 87,
"b": 230
},
"hsl": {
"h": 273.986,
"s": 74.093,
"l": 62.157
},
"oklch": {
"l": 0.61802,
"c": 0.21212,
"h": 307.4
},
"luminance": 0.20854
}Semantic roles & 50–950 ramp
primary
#A857E6
secondary
#C9E7B2
accent
#D60F66
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84