#8F41BE#8F41BE
#8F41BE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.4% C 0.193 H 310.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8F41BE |
|---|---|
| RGB | rgb(143, 65, 190) |
| HSL | hsl(277, 49%, 50%) |
| HSV | hsv(277, 66%, 75%) |
| CMYK | cmyk(24.7%, 65.8%, 0%, 25.5%) |
| CIE-LAB | lab(43.27, 53.88, -52.21) |
| CIE-LCH | lch(43.27, 75.03, 315.90°) |
| OKLab | oklab(53.44% 0.1243 -0.1474) |
| OKLCH | oklch(53.44% 0.193 310.1) |
| XYZ | xyz(22.5105, 13.3384, 50.0940) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.00
Purply
#983FB2
ΔE00 3.10
Blueviolet
#8A2BE2
ΔE00 6.09
Royal Purple
#7851A9
ΔE00 6.28
Barney
#AC1DB8
ΔE00 6.35
Darkviolet
#9400D3
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F41BE #70BE41
analogous
#5041BE #8F41BE #BE41AF
triadic
#8F41BE #BE8F41 #41BE8F
tetradic
#8F41BE #BE5041 #70BE41 #41AFBE
square
#8F41BE #BE5041 #70BE41 #41AFBE
split-complementary
#8F41BE #AFBE41 #41BE50
monochromatic
#4A2263 #6D3190 #8F41BE #AA6FCE #C59CDD
Accessibility & contrast
On white
5.73
#8F41BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#8F41BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F41BE
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F41BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F41BE | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#3067BB
Tritanopia (blue-blind)
#895B7A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8f41be; /* rgb */ color: rgb(143, 65, 190); /* oklch */ color: oklch(53.4% 0.193 310.1);
Tailwind
colors: {
custom: {
50: '#b47bd2',
500: '#8f41be',
950: '#000000',
},
}SCSS
$custom: #8f41be; $custom-light: #b47bd2; $custom-dark: #000000;
JSON
{
"hex": "#8f41be",
"rgb": {
"r": 143,
"g": 65,
"b": 190
},
"hsl": {
"h": 277.44,
"s": 49.02,
"l": 50
},
"oklch": {
"l": 0.53443,
"c": 0.1928,
"h": 310.1
},
"luminance": 0.13338
}Semantic roles & 50–950 ramp
primary
#8F41BE
secondary
#A6C991
accent
#D94F83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83