#8F41BF#8F41BF
#8F41BF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.5% C 0.194 H 309.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8F41BF |
|---|---|
| RGB | rgb(143, 65, 191) |
| HSL | hsl(277, 50%, 50%) |
| HSV | hsv(277, 66%, 75%) |
| CMYK | cmyk(25.1%, 66%, 0%, 25.1%) |
| CIE-LAB | lab(43.33, 54.10, -52.69) |
| CIE-LCH | lch(43.33, 75.52, 315.76°) |
| OKLab | oklab(53.51% 0.1242 -0.1488) |
| OKLCH | oklch(53.51% 0.194 309.8) |
| XYZ | xyz(22.6201, 13.3823, 50.6715) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.92
Purply
#983FB2
ΔE00 3.24
Blueviolet
#8A2BE2
ΔE00 5.96
Royal Purple
#7851A9
ΔE00 6.34
Barney
#AC1DB8
ΔE00 6.42
Darkviolet
#9400D3
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F41BF #71BF41
analogous
#5041BF #8F41BF #BF41B0
triadic
#8F41BF #BF8F41 #41BF8F
tetradic
#8F41BF #BF5041 #71BF41 #41B0BF
square
#8F41BF #BF5041 #71BF41 #41B0BF
split-complementary
#8F41BF #B0BF41 #41BF50
monochromatic
#4B2264 #6D3192 #8F41BF #AA6FCE #C59DDE
Accessibility & contrast
On white
5.71
#8F41BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#8F41BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F41BF
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F41BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F41BF | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#2E68BC
Tritanopia (blue-blind)
#885B7A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8f41bf; /* rgb */ color: rgb(143, 65, 191); /* oklch */ color: oklch(53.5% 0.194 309.8);
Tailwind
colors: {
custom: {
50: '#b47bd3',
500: '#8f41bf',
950: '#000000',
},
}SCSS
$custom: #8f41bf; $custom-light: #b47bd3; $custom-dark: #000000;
JSON
{
"hex": "#8f41bf",
"rgb": {
"r": 143,
"g": 65,
"b": 191
},
"hsl": {
"h": 277.143,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.5351,
"c": 0.19383,
"h": 309.8
},
"luminance": 0.13382
}Semantic roles & 50–950 ramp
primary
#8F41BF
secondary
#A7CA92
accent
#D94F83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83