#A857F5#A857F5
#A857F5 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.8% C 0.228 H 304.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A857F5 |
|---|---|
| RGB | rgb(168, 87, 245) |
| HSL | hsl(271, 89%, 65%) |
| HSV | hsv(271, 64%, 96%) |
| CMYK | cmyk(31.4%, 64.5%, 0%, 3.9%) |
| CIE-LAB | lab(53.74, 61.26, -66.52) |
| CIE-LCH | lch(53.74, 90.43, 312.64°) |
| OKLab | oklab(62.79% 0.1278 -0.1887) |
| OKLCH | oklch(62.79% 0.228 304.1) |
| XYZ | xyz(36.0343, 21.7339, 88.6652) |
| Luminance | 0.2173 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 0.70
Lightish Purple
#A552E6
ΔE00 2.60
Light Urple
#B36FF6
ΔE00 5.97
Bright Lavender
#C760FF
ΔE00 6.17
Purpley
#8756E4
ΔE00 6.26
Bright Lilac
#C95EFB
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A857F5 #A4F557
analogous
#5957F5 #A857F5 #F557F3
triadic
#A857F5 #F5A857 #57F5A8
tetradic
#A857F5 #F55957 #A4F557 #57F3F5
square
#A857F5 #F55957 #A4F557 #57F3F5
split-complementary
#A857F5 #F3F557 #57F559
monochromatic
#6B0CC6 #8A1DF2 #A857F5 #C691F8 #E4CBFC
Accessibility & contrast
On white
3.93
#A857F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#A857F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A857F5
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A857F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A857F5 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EFA
Deuteranopia (green-blind)
#2480F2
Tritanopia (blue-blind)
#9A799F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a857f5; /* rgb */ color: rgb(168, 87, 245); /* oklch */ color: oklch(62.8% 0.228 304.1);
Tailwind
colors: {
custom: {
50: '#c78bf9',
500: '#a857f5',
950: '#000000',
},
}SCSS
$custom: #a857f5; $custom-light: #c78bf9; $custom-dark: #000000;
JSON
{
"hex": "#a857f5",
"rgb": {
"r": 168,
"g": 87,
"b": 245
},
"hsl": {
"h": 270.759,
"s": 88.764,
"l": 65.098
},
"oklch": {
"l": 0.62794,
"c": 0.22791,
"h": 304.1
},
"luminance": 0.21734
}Semantic roles & 50–950 ramp
primary
#A857F5
secondary
#D3EFB9
accent
#E50070
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85