#8F57CE#8F57CE
#8F57CE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.179 H 302.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8F57CE |
|---|---|
| RGB | rgb(143, 87, 206) |
| HSL | hsl(268, 55%, 57%) |
| HSV | hsv(268, 58%, 81%) |
| CMYK | cmyk(30.6%, 57.8%, 0%, 19.2%) |
| CIE-LAB | lab(48.40, 46.46, -53.22) |
| CIE-LCH | lch(48.40, 70.65, 311.12°) |
| OKLab | oklab(57.49% 0.0973 -0.1505) |
| OKLCH | oklch(57.49% 0.179 302.9) |
| XYZ | xyz(25.8739, 17.1123, 60.3204) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.89
Deep Lavender
#8D5EB7
ΔE00 4.50
Amethyst
#9B5FC0
ΔE00 4.74
Lightish Purple
#A552E6
ΔE00 4.89
Lighter Purple
#A55AF4
ΔE00 6.65
Light Indigo
#6D5ACF
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F57CE #96CE57
analogous
#575BCE #8F57CE #CA57CE
triadic
#8F57CE #CE8F57 #57CE8F
tetradic
#8F57CE #CE575B #96CE57 #57CECA
square
#8F57CE #CE575B #96CE57 #57CECA
split-complementary
#8F57CE #CECA57 #5BCE57
monochromatic
#532784 #7034B3 #8F57CE #AF86DC #CEB6EA
Accessibility & contrast
On white
4.75
#8F57CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#8F57CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F57CE
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F57CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F57CE | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2272D2
Deuteranopia (green-blind)
#3A73CB
Tritanopia (blue-blind)
#836F8A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8f57ce; /* rgb */ color: rgb(143, 87, 206); /* oklch */ color: oklch(57.5% 0.179 302.9);
Tailwind
colors: {
custom: {
50: '#b389de',
500: '#8f57ce',
950: '#000000',
},
}SCSS
$custom: #8f57ce; $custom-light: #b389de; $custom-dark: #000000;
JSON
{
"hex": "#8f57ce",
"rgb": {
"r": 143,
"g": 87,
"b": 206
},
"hsl": {
"h": 268.235,
"s": 54.839,
"l": 57.451
},
"oklch": {
"l": 0.57491,
"c": 0.17917,
"h": 302.9
},
"luminance": 0.17112
}Semantic roles & 50–950 ramp
primary
#8F57CE
secondary
#C2D8A8
accent
#DE4A98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83