#8F57BC#8F57BC
#8F57BC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.158 H 307.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8F57BC |
|---|---|
| RGB | rgb(143, 87, 188) |
| HSL | hsl(273, 43%, 54%) |
| HSV | hsv(273, 54%, 74%) |
| CMYK | cmyk(23.9%, 53.7%, 0%, 26.3%) |
| CIE-LAB | lab(47.35, 42.14, -44.52) |
| CIE-LCH | lch(47.35, 61.30, 313.43°) |
| OKLab | oklab(56.38% 0.0966 -0.125) |
| OKLCH | oklch(56.38% 0.158 307.7) |
| XYZ | xyz(23.8112, 16.2872, 49.4566) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.26
Amethyst
#9B5FC0
ΔE00 3.54
Royal Purple
#7851A9
ΔE00 5.45
Purply
#983FB2
ΔE00 6.02
Purpley
#8756E4
ΔE00 6.90
Lightish Purple
#A552E6
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F57BC #84BC57
analogous
#5D57BC #8F57BC #BC57B7
triadic
#8F57BC #BC8F57 #57BC8F
tetradic
#8F57BC #BC5D57 #84BC57 #57B7BC
square
#8F57BC #BC5D57 #84BC57 #57B7BC
split-complementary
#8F57BC #B7BC57 #57BC5D
monochromatic
#502C6D #703D99 #8F57BC #AC83CD #C9AFDF
Accessibility & contrast
On white
4.93
#8F57BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#8F57BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F57BC
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F57BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F57BC | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#886981
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8f57bc; /* rgb */ color: rgb(143, 87, 188); /* oklch */ color: oklch(56.4% 0.158 307.7);
Tailwind
colors: {
custom: {
50: '#b288d1',
500: '#8f57bc',
950: '#000000',
},
}SCSS
$custom: #8f57bc; $custom-light: #b288d1; $custom-dark: #000000;
JSON
{
"hex": "#8f57bc",
"rgb": {
"r": 143,
"g": 87,
"b": 188
},
"hsl": {
"h": 273.267,
"s": 42.979,
"l": 53.922
},
"oklch": {
"l": 0.56378,
"c": 0.15799,
"h": 307.7
},
"luminance": 0.16287
}Semantic roles & 50–950 ramp
primary
#8F57BC
secondary
#B5CDA2
accent
#D3558D
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82