#8F58CF#8F58CF
#8F58CF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.7% C 0.179 H 302.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8F58CF |
|---|---|
| RGB | rgb(143, 88, 207) |
| HSL | hsl(268, 55%, 58%) |
| HSV | hsv(268, 57%, 81%) |
| CMYK | cmyk(30.9%, 57.5%, 0%, 18.8%) |
| CIE-LAB | lab(48.67, 46.16, -53.37) |
| CIE-LCH | lch(48.67, 70.57, 310.86°) |
| OKLab | oklab(57.7% 0.096 -0.1509) |
| OKLCH | oklch(57.7% 0.179 302.5) |
| XYZ | xyz(26.0773, 17.3241, 60.9894) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.76
Deep Lavender
#8D5EB7
ΔE00 4.54
Amethyst
#9B5FC0
ΔE00 4.72
Lightish Purple
#A552E6
ΔE00 4.80
Lighter Purple
#A55AF4
ΔE00 6.45
Light Indigo
#6D5ACF
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F58CF #98CF58
analogous
#585CCF #8F58CF #CA58CF
triadic
#8F58CF #CF8F58 #58CF8F
tetradic
#8F58CF #CF585C #98CF58 #58CFCA
square
#8F58CF #CF585C #98CF58 #58CFCA
split-complementary
#8F58CF #CFCA58 #5CCF58
monochromatic
#532786 #7034B6 #8F58CF #AF88DD #CFB7EA
Accessibility & contrast
On white
4.70
#8F58CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#8F58CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F58CF
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F58CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F58CF | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#83708B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8f58cf; /* rgb */ color: rgb(143, 88, 207); /* oklch */ color: oklch(57.7% 0.179 302.5);
Tailwind
colors: {
custom: {
50: '#b389de',
500: '#8f58cf',
950: '#000000',
},
}SCSS
$custom: #8f58cf; $custom-light: #b389de; $custom-dark: #000000;
JSON
{
"hex": "#8f58cf",
"rgb": {
"r": 143,
"g": 88,
"b": 207
},
"hsl": {
"h": 267.731,
"s": 55.349,
"l": 57.843
},
"oklch": {
"l": 0.57704,
"c": 0.17887,
"h": 302.5
},
"luminance": 0.17324
}Semantic roles & 50–950 ramp
primary
#8F58CF
secondary
#C3D9AA
accent
#DF499A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83