#8B57CF#8B57CF
#8B57CF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.180 H 300.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8B57CF |
|---|---|
| RGB | rgb(139, 87, 207) |
| HSL | hsl(266, 56%, 58%) |
| HSV | hsv(266, 58%, 81%) |
| CMYK | cmyk(32.9%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(48.02, 45.75, -54.43) |
| CIE-LCH | lch(48.02, 71.11, 310.05°) |
| OKLab | oklab(57.13% 0.0921 -0.1541) |
| OKLCH | oklch(57.13% 0.18 300.8) |
| XYZ | xyz(25.3155, 16.8102, 60.9304) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.35
Deep Lavender
#8D5EB7
ΔE00 4.87
Lightish Purple
#A552E6
ΔE00 5.38
Amethyst
#9B5FC0
ΔE00 5.47
Light Indigo
#6D5ACF
ΔE00 5.96
Slate Blue
#6A5ACD
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B57CF #9BCF57
analogous
#575FCF #8B57CF #C757CF
triadic
#8B57CF #CF8B57 #57CF8B
tetradic
#8B57CF #CF575F #9BCF57 #57CFC7
square
#8B57CF #CF575F #9BCF57 #57CFC7
split-complementary
#8B57CF #CFC757 #5FCF57
monochromatic
#4F2685 #6C34B5 #8B57CF #AC87DD #CDB6EA
Accessibility & contrast
On white
4.81
#8B57CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#8B57CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B57CF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B57CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B57CF | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#7D708B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8b57cf; /* rgb */ color: rgb(139, 87, 207); /* oklch */ color: oklch(57.1% 0.180 300.8);
Tailwind
colors: {
custom: {
50: '#b188de',
500: '#8b57cf',
950: '#000000',
},
}SCSS
$custom: #8b57cf; $custom-light: #b188de; $custom-dark: #000000;
JSON
{
"hex": "#8b57cf",
"rgb": {
"r": 139,
"g": 87,
"b": 207
},
"hsl": {
"h": 266,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.57131,
"c": 0.17955,
"h": 300.8
},
"luminance": 0.1681
}Semantic roles & 50–950 ramp
primary
#8B57CF
secondary
#C4D9A9
accent
#DF499E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83