#8D58CD#8D58CD
#8D58CD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.176 H 302.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8D58CD |
|---|---|
| RGB | rgb(141, 88, 205) |
| HSL | hsl(267, 54%, 57%) |
| HSV | hsv(267, 57%, 80%) |
| CMYK | cmyk(31.2%, 57.1%, 0%, 19.6%) |
| CIE-LAB | lab(48.32, 45.19, -52.79) |
| CIE-LCH | lch(48.32, 69.49, 310.57°) |
| OKLab | oklab(57.36% 0.0934 -0.1493) |
| OKLCH | oklch(57.36% 0.176 302) |
| XYZ | xyz(25.4911, 17.0499, 59.6938) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.85
Deep Lavender
#8D5EB7
ΔE00 4.35
Amethyst
#9B5FC0
ΔE00 4.83
Lightish Purple
#A552E6
ΔE00 5.25
Light Indigo
#6D5ACF
ΔE00 6.44
Lighter Purple
#A55AF4
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D58CD #98CD58
analogous
#585ECD #8D58CD #C758CD
triadic
#8D58CD #CD8D58 #58CD8D
tetradic
#8D58CD #CD585E #98CD58 #58CDC7
square
#8D58CD #CD585E #98CD58 #58CDC7
split-complementary
#8D58CD #CDC758 #5ECD58
monochromatic
#512783 #6E35B2 #8D58CD #AD87DB #CDB6E9
Accessibility & contrast
On white
4.76
#8D58CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#8D58CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D58CD
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D58CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D58CD | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2572D1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#816F8A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8d58cd; /* rgb */ color: rgb(141, 88, 205); /* oklch */ color: oklch(57.4% 0.176 302.0);
Tailwind
colors: {
custom: {
50: '#b289dd',
500: '#8d58cd',
950: '#000000',
},
}SCSS
$custom: #8d58cd; $custom-light: #b289dd; $custom-dark: #000000;
JSON
{
"hex": "#8d58cd",
"rgb": {
"r": 141,
"g": 88,
"b": 205
},
"hsl": {
"h": 267.179,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.57364,
"c": 0.17608,
"h": 302
},
"luminance": 0.1705
}Semantic roles & 50–950 ramp
primary
#8D58CD
secondary
#C3D8A9
accent
#DD4B9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83