#8F58D9#8F58D9
#8F58D9 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.191 H 300.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8F58D9 |
|---|---|
| RGB | rgb(143, 88, 217) |
| HSL | hsl(266, 63%, 60%) |
| HSV | hsv(266, 59%, 85%) |
| CMYK | cmyk(34.1%, 59.4%, 0%, 14.9%) |
| CIE-LAB | lab(49.29, 48.64, -58.08) |
| CIE-LCH | lch(49.29, 75.76, 309.94°) |
| OKLab | oklab(58.36% 0.0959 -0.1647) |
| OKLCH | oklch(58.36% 0.191 300.2) |
| XYZ | xyz(27.3388, 17.8286, 67.6331) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.40
Lightish Purple
#A552E6
ΔE00 4.15
Lighter Purple
#A55AF4
ΔE00 5.37
Amethyst
#9B5FC0
ΔE00 5.87
Deep Lavender
#8D5EB7
ΔE00 6.00
Light Indigo
#6D5ACF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F58D9 #A2D958
analogous
#5862D9 #8F58D9 #CF58D9
triadic
#8F58D9 #D98F58 #58D98F
tetradic
#8F58D9 #D95862 #A2D958 #58D9CF
square
#8F58D9 #D95862 #A2D958 #58D9CF
split-complementary
#8F58D9 #D9CF58 #62D958
monochromatic
#532295 #6F2DC7 #8F58D9 #B08AE4 #D2BCF0
Accessibility & contrast
On white
4.60
#8F58D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#8F58D9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8F58D9
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F58D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F58D9 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0875DD
Deuteranopia (green-blind)
#2D74D6
Tritanopia (blue-blind)
#7F7390
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8f58d9; /* rgb */ color: rgb(143, 88, 217); /* oklch */ color: oklch(58.4% 0.191 300.2);
Tailwind
colors: {
custom: {
50: '#b489e5',
500: '#8f58d9',
950: '#000000',
},
}SCSS
$custom: #8f58d9; $custom-light: #b489e5; $custom-dark: #000000;
JSON
{
"hex": "#8f58d9",
"rgb": {
"r": 143,
"g": 88,
"b": 217
},
"hsl": {
"h": 265.581,
"s": 62.927,
"l": 59.804
},
"oklch": {
"l": 0.58358,
"c": 0.19063,
"h": 300.2
},
"luminance": 0.17829
}Semantic roles & 50–950 ramp
primary
#8F58D9
secondary
#CADFAD
accent
#E642A0
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84