#8F41C1#8F41C1
#8F41C1 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.6% C 0.196 H 309.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8F41C1 |
|---|---|
| RGB | rgb(143, 65, 193) |
| HSL | hsl(277, 51%, 51%) |
| HSV | hsv(277, 66%, 76%) |
| CMYK | cmyk(25.9%, 66.3%, 0%, 24.3%) |
| CIE-LAB | lab(43.46, 54.55, -53.64) |
| CIE-LCH | lch(43.46, 76.51, 315.48°) |
| OKLab | oklab(53.65% 0.124 -0.1516) |
| OKLCH | oklch(53.65% 0.196 309.3) |
| XYZ | xyz(22.8417, 13.4709, 51.8386) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.79
Purply
#983FB2
ΔE00 3.51
Blueviolet
#8A2BE2
ΔE00 5.71
Royal Purple
#7851A9
ΔE00 6.45
Vibrant Purple
#AD03DE
ΔE00 6.47
Darkviolet
#9400D3
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F41C1 #73C141
analogous
#4F41C1 #8F41C1 #C141B3
triadic
#8F41C1 #C18F41 #41C18F
tetradic
#8F41C1 #C14F41 #73C141 #41B3C1
square
#8F41C1 #C14F41 #73C141 #41B3C1
split-complementary
#8F41C1 #B3C141 #41C14F
monochromatic
#4B2166 #6D3094 #8F41C1 #AA6FD0 #C59DDF
Accessibility & contrast
On white
5.68
#8F41C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#8F41C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F41C1
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F41C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F41C1 | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#2C68BE
Tritanopia (blue-blind)
#885C7C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8f41c1; /* rgb */ color: rgb(143, 65, 193); /* oklch */ color: oklch(53.6% 0.196 309.3);
Tailwind
colors: {
custom: {
50: '#b47bd4',
500: '#8f41c1',
950: '#000000',
},
}SCSS
$custom: #8f41c1; $custom-light: #b47bd4; $custom-dark: #000000;
JSON
{
"hex": "#8f41c1",
"rgb": {
"r": 143,
"g": 65,
"b": 193
},
"hsl": {
"h": 276.563,
"s": 50.794,
"l": 50.588
},
"oklch": {
"l": 0.53646,
"c": 0.1959,
"h": 309.3
},
"luminance": 0.1347
}Semantic roles & 50–950 ramp
primary
#8F41C1
secondary
#A9CB92
accent
#DA4E85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83