#8E57BB#8E57BB
#8E57BB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.156 H 307.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8E57BB |
|---|---|
| RGB | rgb(142, 87, 187) |
| HSL | hsl(273, 42%, 54%) |
| HSV | hsv(273, 53%, 73%) |
| CMYK | cmyk(24.1%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(47.18, 41.64, -44.22) |
| CIE-LCH | lch(47.18, 60.74, 313.28°) |
| OKLab | oklab(56.21% 0.0953 -0.1241) |
| OKLCH | oklch(56.21% 0.156 307.5) |
| XYZ | xyz(23.5314, 16.1553, 48.8827) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.20
Amethyst
#9B5FC0
ΔE00 3.70
Royal Purple
#7851A9
ΔE00 5.22
Purply
#983FB2
ΔE00 6.02
Purpley
#8756E4
ΔE00 6.98
Deep Lilac
#966EBD
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E57BB #84BB57
analogous
#5C57BB #8E57BB #BB57B6
triadic
#8E57BB #BB8E57 #57BB8E
tetradic
#8E57BB #BB5C57 #84BB57 #57B6BB
square
#8E57BB #BB5C57 #84BB57 #57B6BB
split-complementary
#8E57BB #B6BB57 #57BB5C
monochromatic
#4F2C6C #6F3D97 #8E57BB #AB83CD #C9AEDE
Accessibility & contrast
On white
4.96
#8E57BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#8E57BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E57BB
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E57BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E57BB | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#4A70B9
Tritanopia (blue-blind)
#876981
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8e57bb; /* rgb */ color: rgb(142, 87, 187); /* oklch */ color: oklch(56.2% 0.156 307.5);
Tailwind
colors: {
custom: {
50: '#b288d0',
500: '#8e57bb',
950: '#000000',
},
}SCSS
$custom: #8e57bb; $custom-light: #b288d0; $custom-dark: #000000;
JSON
{
"hex": "#8e57bb",
"rgb": {
"r": 142,
"g": 87,
"b": 187
},
"hsl": {
"h": 273,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.56208,
"c": 0.15649,
"h": 307.5
},
"luminance": 0.16155
}Semantic roles & 50–950 ramp
primary
#8E57BB
secondary
#B5CCA2
accent
#D2568E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82