#8F41C2#8F41C2
#8F41C2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.7% C 0.197 H 309.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8F41C2 |
|---|---|
| RGB | rgb(143, 65, 194) |
| HSL | hsl(276, 51%, 51%) |
| HSV | hsv(276, 66%, 76%) |
| CMYK | cmyk(26.3%, 66.5%, 0%, 23.9%) |
| CIE-LAB | lab(43.53, 54.77, -54.12) |
| CIE-LCH | lch(43.53, 77.00, 315.34°) |
| OKLab | oklab(53.71% 0.124 -0.153) |
| OKLCH | oklch(53.71% 0.197 309) |
| XYZ | xyz(22.9536, 13.5157, 52.4281) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.73
Purply
#983FB2
ΔE00 3.65
Blueviolet
#8A2BE2
ΔE00 5.58
Vibrant Purple
#AD03DE
ΔE00 6.40
Darkviolet
#9400D3
ΔE00 6.45
Royal Purple
#7851A9
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F41C2 #74C241
analogous
#4E41C2 #8F41C2 #C241B4
triadic
#8F41C2 #C28F41 #41C28F
tetradic
#8F41C2 #C24E41 #74C241 #41B4C2
square
#8F41C2 #C24E41 #74C241 #41B4C2
split-complementary
#8F41C2 #B4C241 #41C24E
monochromatic
#4C2167 #6E3096 #8F41C2 #AA6FD1 #C69EE0
Accessibility & contrast
On white
5.67
#8F41C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#8F41C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F41C2
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F41C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F41C2 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#885C7C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8f41c2; /* rgb */ color: rgb(143, 65, 194); /* oklch */ color: oklch(53.7% 0.197 309.0);
Tailwind
colors: {
custom: {
50: '#b47bd5',
500: '#8f41c2',
950: '#000000',
},
}SCSS
$custom: #8f41c2; $custom-light: #b47bd5; $custom-dark: #000000;
JSON
{
"hex": "#8f41c2",
"rgb": {
"r": 143,
"g": 65,
"b": 194
},
"hsl": {
"h": 276.279,
"s": 51.394,
"l": 50.784
},
"oklch": {
"l": 0.53714,
"c": 0.19693,
"h": 309
},
"luminance": 0.13515
}Semantic roles & 50–950 ramp
primary
#8F41C2
secondary
#A9CC93
accent
#DB4D85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83