#8B57BB#8B57BB
#8B57BB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.9% C 0.156 H 306.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8B57BB |
|---|---|
| RGB | rgb(139, 87, 187) |
| HSL | hsl(271, 42%, 54%) |
| HSV | hsv(271, 53%, 73%) |
| CMYK | cmyk(25.7%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(46.83, 40.85, -44.78) |
| CIE-LCH | lch(46.83, 60.61, 312.37°) |
| OKLab | oklab(55.88% 0.0915 -0.1259) |
| OKLCH | oklch(55.88% 0.156 306) |
| XYZ | xyz(23.0234, 15.8934, 48.8589) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.35
Amethyst
#9B5FC0
ΔE00 4.22
Royal Purple
#7851A9
ΔE00 4.74
Purply
#983FB2
ΔE00 6.27
Purpley
#8756E4
ΔE00 6.74
Deep Lilac
#966EBD
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B57BB #87BB57
analogous
#5957BB #8B57BB #BB57B9
triadic
#8B57BB #BB8B57 #57BB8B
tetradic
#8B57BB #BB5957 #87BB57 #57B9BB
square
#8B57BB #BB5957 #87BB57 #57B9BB
split-complementary
#8B57BB #B9BB57 #57BB59
monochromatic
#4D2C6C #6C3D97 #8B57BB #A983CD #C7AEDE
Accessibility & contrast
On white
5.03
#8B57BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#8B57BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B57BB
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B57BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B57BB | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#836981
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8b57bb; /* rgb */ color: rgb(139, 87, 187); /* oklch */ color: oklch(55.9% 0.156 306.0);
Tailwind
colors: {
custom: {
50: '#af88d0',
500: '#8b57bb',
950: '#000000',
},
}SCSS
$custom: #8b57bb; $custom-light: #af88d0; $custom-dark: #000000;
JSON
{
"hex": "#8b57bb",
"rgb": {
"r": 139,
"g": 87,
"b": 187
},
"hsl": {
"h": 271.2,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.55877,
"c": 0.15559,
"h": 306
},
"luminance": 0.15893
}Semantic roles & 50–950 ramp
primary
#8B57BB
secondary
#B6CCA2
accent
#D25691
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82