#9857BE#9857BE
#9857BE is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.163 H 311.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9857BE |
|---|---|
| RGB | rgb(152, 87, 190) |
| HSL | hsl(278, 44%, 54%) |
| HSV | hsv(278, 54%, 75%) |
| CMYK | cmyk(20%, 54.2%, 0%, 25.5%) |
| CIE-LAB | lab(48.52, 44.99, -43.74) |
| CIE-LCH | lch(48.52, 62.75, 315.81°) |
| OKLab | oklab(57.52% 0.1082 -0.1225) |
| OKLCH | oklch(57.52% 0.163 311.4) |
| XYZ | xyz(25.6497, 17.2100, 50.6759) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.35
Deep Lavender
#8D5EB7
ΔE00 2.98
Purply
#983FB2
ΔE00 5.91
Lightish Purple
#A552E6
ΔE00 6.30
Mediumorchid
#BA55D3
ΔE00 6.76
Deep Lilac
#966EBD
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9857BE #7DBE57
analogous
#6557BE #9857BE #BE57B1
triadic
#9857BE #BE9857 #57BE98
tetradic
#9857BE #BE6557 #7DBE57 #57B1BE
square
#9857BE #BE6557 #7DBE57 #57B1BE
split-complementary
#9857BE #B1BE57 #57BE65
monochromatic
#562B6F #783C9C #9857BE #B383CF #CEAFE0
Accessibility & contrast
On white
4.73
#9857BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#9857BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9857BE
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9857BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9857BE | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A70C1
Deuteranopia (green-blind)
#5075BB
Tritanopia (blue-blind)
#946982
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9857be; /* rgb */ color: rgb(152, 87, 190); /* oklch */ color: oklch(57.5% 0.163 311.4);
Tailwind
colors: {
custom: {
50: '#b989d2',
500: '#9857be',
950: '#000000',
},
}SCSS
$custom: #9857be; $custom-light: #b989d2; $custom-dark: #000000;
JSON
{
"hex": "#9857be",
"rgb": {
"r": 152,
"g": 87,
"b": 190
},
"hsl": {
"h": 277.864,
"s": 44.206,
"l": 54.314
},
"oklch": {
"l": 0.57515,
"c": 0.1634,
"h": 311.4
},
"luminance": 0.17209
}Semantic roles & 50–950 ramp
primary
#9857BE
secondary
#B3CEA3
accent
#D45483
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82