#8F36C0#8F36C0
#8F36C0 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.209 H 310.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8F36C0 |
|---|---|
| RGB | rgb(143, 54, 192) |
| HSL | hsl(279, 56%, 48%) |
| HSV | hsv(279, 72%, 75%) |
| CMYK | cmyk(25.5%, 71.9%, 0%, 24.7%) |
| CIE-LAB | lab(41.66, 59.18, -55.96) |
| CIE-LCH | lch(41.66, 81.45, 316.60°) |
| OKLab | oklab(52.34% 0.1358 -0.1584) |
| OKLCH | oklch(52.34% 0.209 310.6) |
| XYZ | xyz(22.1595, 12.2843, 51.0627) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.19
Purply
#983FB2
ΔE00 3.92
Darkviolet
#9400D3
ΔE00 4.70
Blueviolet
#8A2BE2
ΔE00 5.04
Barney
#AC1DB8
ΔE00 5.77
Vibrant Purple
#AD03DE
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F36C0 #67C036
analogous
#4A36C0 #8F36C0 #C036AC
triadic
#8F36C0 #C08F36 #36C08F
tetradic
#8F36C0 #C04A36 #67C036 #36ACC0
square
#8F36C0 #C04A36 #67C036 #36ACC0
split-complementary
#8F36C0 #ACC036 #36C04A
monochromatic
#481B60 #6B2990 #8F36C0 #AA61D2 #C490E0
Accessibility & contrast
On white
6.07
#8F36C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#8F36C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F36C0
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F36C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F36C0 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#1D64BD
Tritanopia (blue-blind)
#885578
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8f36c0; /* rgb */ color: rgb(143, 54, 192); /* oklch */ color: oklch(52.3% 0.209 310.6);
Tailwind
colors: {
custom: {
50: '#b475d4',
500: '#8f36c0',
950: '#000000',
},
}SCSS
$custom: #8f36c0; $custom-light: #b475d4; $custom-dark: #000000;
JSON
{
"hex": "#8f36c0",
"rgb": {
"r": 143,
"g": 54,
"b": 192
},
"hsl": {
"h": 278.696,
"s": 56.098,
"l": 48.235
},
"oklch": {
"l": 0.52338,
"c": 0.20864,
"h": 310.6
},
"luminance": 0.12284
}Semantic roles & 50–950 ramp
primary
#8F36C0
secondary
#9FCB87
accent
#DF487E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83