#8E58CF#8E58CF
#8E58CF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.6% C 0.179 H 302.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8E58CF |
|---|---|
| RGB | rgb(142, 88, 207) |
| HSL | hsl(267, 55%, 58%) |
| HSV | hsv(267, 57%, 81%) |
| CMYK | cmyk(31.4%, 57.5%, 0%, 18.8%) |
| CIE-LAB | lab(48.55, 45.92, -53.56) |
| CIE-LCH | lch(48.55, 70.55, 310.61°) |
| OKLab | oklab(57.6% 0.0947 -0.1515) |
| OKLCH | oklch(57.6% 0.179 302) |
| XYZ | xyz(25.9049, 17.2352, 60.9814) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.64
Deep Lavender
#8D5EB7
ΔE00 4.59
Amethyst
#9B5FC0
ΔE00 4.88
Lightish Purple
#A552E6
ΔE00 4.94
Light Indigo
#6D5ACF
ΔE00 6.54
Lighter Purple
#A55AF4
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E58CF #99CF58
analogous
#585DCF #8E58CF #CA58CF
triadic
#8E58CF #CF8E58 #58CF8E
tetradic
#8E58CF #CF585D #99CF58 #58CFCA
square
#8E58CF #CF585D #99CF58 #58CFCA
split-complementary
#8E58CF #CFCA58 #5DCF58
monochromatic
#522786 #6F34B6 #8E58CF #AE88DD #CEB7EA
Accessibility & contrast
On white
4.72
#8E58CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#8E58CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E58CF
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E58CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E58CF | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2272D3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#81708B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8e58cf; /* rgb */ color: rgb(142, 88, 207); /* oklch */ color: oklch(57.6% 0.179 302.0);
Tailwind
colors: {
custom: {
50: '#b389de',
500: '#8e58cf',
950: '#000000',
},
}SCSS
$custom: #8e58cf; $custom-light: #b389de; $custom-dark: #000000;
JSON
{
"hex": "#8e58cf",
"rgb": {
"r": 142,
"g": 88,
"b": 207
},
"hsl": {
"h": 267.227,
"s": 55.349,
"l": 57.843
},
"oklch": {
"l": 0.57598,
"c": 0.17866,
"h": 302
},
"luminance": 0.17235
}Semantic roles & 50–950 ramp
primary
#8E58CF
secondary
#C4D9AA
accent
#DF499B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83