#8F36C6#8F36C6
#8F36C6 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.214 H 309.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8F36C6 |
|---|---|
| RGB | rgb(143, 54, 198) |
| HSL | hsl(277, 57%, 49%) |
| HSV | hsv(277, 73%, 78%) |
| CMYK | cmyk(27.8%, 72.7%, 0%, 22.4%) |
| CIE-LAB | lab(42.09, 60.47, -58.78) |
| CIE-LCH | lch(42.09, 84.33, 315.81°) |
| OKLab | oklab(52.77% 0.1349 -0.1667) |
| OKLCH | oklch(52.77% 0.214 309) |
| XYZ | xyz(22.8378, 12.5556, 54.6355) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.78
Blueviolet
#8A2BE2
ΔE00 4.18
Darkviolet
#9400D3
ΔE00 4.41
Purply
#983FB2
ΔE00 4.58
Violet (survey)
#9A0EEA
ΔE00 5.12
Vibrant Purple
#AD03DE
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F36C6 #6DC636
analogous
#4736C6 #8F36C6 #C636B5
triadic
#8F36C6 #C68F36 #36C68F
tetradic
#8F36C6 #C64736 #6DC636 #36B5C6
square
#8F36C6 #C64736 #6DC636 #36B5C6
split-complementary
#8F36C6 #B5C636 #36C647
monochromatic
#4A1C66 #6C2996 #8F36C6 #AA64D5 #C494E2
Accessibility & contrast
On white
5.98
#8F36C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8F36C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F36C6
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F36C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F36C6 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0D64C3
Tritanopia (blue-blind)
#87577B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8f36c6; /* rgb */ color: rgb(143, 54, 198); /* oklch */ color: oklch(52.8% 0.214 309.0);
Tailwind
colors: {
custom: {
50: '#b575d8',
500: '#8f36c6',
950: '#000000',
},
}SCSS
$custom: #8f36c6; $custom-light: #b575d8; $custom-dark: #000000;
JSON
{
"hex": "#8f36c6",
"rgb": {
"r": 143,
"g": 54,
"b": 198
},
"hsl": {
"h": 277.083,
"s": 57.143,
"l": 49.412
},
"oklch": {
"l": 0.5277,
"c": 0.21442,
"h": 309
},
"luminance": 0.12555
}Semantic roles & 50–950 ramp
primary
#8F36C6
secondary
#A4CD8B
accent
#E04782
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83