#8B58CD#8B58CD
#8B58CD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.176 H 301.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8B58CD |
|---|---|
| RGB | rgb(139, 88, 205) |
| HSL | hsl(266, 54%, 57%) |
| HSV | hsv(266, 57%, 80%) |
| CMYK | cmyk(32.2%, 57.1%, 0%, 19.6%) |
| CIE-LAB | lab(48.10, 44.71, -53.15) |
| CIE-LCH | lch(48.10, 69.45, 310.07°) |
| OKLab | oklab(57.15% 0.0908 -0.1504) |
| OKLCH | oklch(57.15% 0.176 301.1) |
| XYZ | xyz(25.1540, 16.8761, 59.6780) |
| Luminance | 0.1688 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.68
Deep Lavender
#8D5EB7
ΔE00 4.49
Amethyst
#9B5FC0
ΔE00 5.16
Lightish Purple
#A552E6
ΔE00 5.54
Light Indigo
#6D5ACF
ΔE00 6.03
Slate Blue
#6A5ACD
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B58CD #9ACD58
analogous
#585FCD #8B58CD #C658CD
triadic
#8B58CD #CD8B58 #58CD8B
tetradic
#8B58CD #CD585F #9ACD58 #58CDC6
square
#8B58CD #CD585F #9ACD58 #58CDC6
split-complementary
#8B58CD #CDC658 #5FCD58
monochromatic
#4F2783 #6C35B2 #8B58CD #AC87DB #CCB6E9
Accessibility & contrast
On white
4.80
#8B58CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#8B58CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B58CD
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B58CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B58CD | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2372D1
Deuteranopia (green-blind)
#3872CA
Tritanopia (blue-blind)
#7E708A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8b58cd; /* rgb */ color: rgb(139, 88, 205); /* oklch */ color: oklch(57.2% 0.176 301.1);
Tailwind
colors: {
custom: {
50: '#b189dd',
500: '#8b58cd',
950: '#000000',
},
}SCSS
$custom: #8b58cd; $custom-light: #b189dd; $custom-dark: #000000;
JSON
{
"hex": "#8b58cd",
"rgb": {
"r": 139,
"g": 88,
"b": 205
},
"hsl": {
"h": 266.154,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.57153,
"c": 0.17569,
"h": 301.1
},
"luminance": 0.16876
}Semantic roles & 50–950 ramp
primary
#8B58CD
secondary
#C3D8A9
accent
#DD4B9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83