#8F57DC#8F57DC
#8F57DC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.196 H 299.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8F57DC |
|---|---|
| RGB | rgb(143, 87, 220) |
| HSL | hsl(265, 66%, 60%) |
| HSV | hsv(265, 60%, 86%) |
| CMYK | cmyk(35%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(49.28, 49.92, -59.80) |
| CIE-LCH | lch(49.28, 77.90, 309.86°) |
| OKLab | oklab(58.41% 0.097 -0.1698) |
| OKLCH | oklch(58.41% 0.196 299.7) |
| XYZ | xyz(27.6510, 17.8231, 69.6797) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.03
Lightish Purple
#A552E6
ΔE00 4.04
Lighter Purple
#A55AF4
ΔE00 5.19
Amethyst
#9B5FC0
ΔE00 6.30
Deep Lavender
#8D5EB7
ΔE00 6.47
Light Indigo
#6D5ACF
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F57DC #A4DC57
analogous
#5762DC #8F57DC #D157DC
triadic
#8F57DC #DC8F57 #57DC8F
tetradic
#8F57DC #DC5762 #A4DC57 #57DCD1
square
#8F57DC #DC5762 #A4DC57 #57DCD1
split-complementary
#8F57DC #DCD157 #62DC57
monochromatic
#532099 #6E2ACB #8F57DC #B18AE7 #D3BCF1
Accessibility & contrast
On white
4.60
#8F57DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#8F57DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8F57DC
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F57DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F57DC | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#7E7391
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8f57dc; /* rgb */ color: rgb(143, 87, 220); /* oklch */ color: oklch(58.4% 0.196 299.7);
Tailwind
colors: {
custom: {
50: '#b489e8',
500: '#8f57dc',
950: '#000000',
},
}SCSS
$custom: #8f57dc; $custom-light: #b489e8; $custom-dark: #000000;
JSON
{
"hex": "#8f57dc",
"rgb": {
"r": 143,
"g": 87,
"b": 220
},
"hsl": {
"h": 265.263,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.58414,
"c": 0.19553,
"h": 299.7
},
"luminance": 0.17823
}Semantic roles & 50–950 ramp
primary
#8F57DC
secondary
#CBE1AE
accent
#CD1881
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84