#8F37C6#8F37C6
#8F37C6 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.213 H 308.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8F37C6 |
|---|---|
| RGB | rgb(143, 55, 198) |
| HSL | hsl(277, 57%, 50%) |
| HSV | hsv(277, 72%, 78%) |
| CMYK | cmyk(27.8%, 72.2%, 0%, 22.4%) |
| CIE-LAB | lab(42.23, 60.06, -58.55) |
| CIE-LCH | lch(42.23, 83.88, 315.73°) |
| OKLab | oklab(52.87% 0.1339 -0.166) |
| OKLCH | oklch(52.87% 0.213 308.9) |
| XYZ | xyz(22.8849, 12.6496, 54.6512) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.77
Blueviolet
#8A2BE2
ΔE00 4.23
Purply
#983FB2
ΔE00 4.52
Darkviolet
#9400D3
ΔE00 4.57
Violet (survey)
#9A0EEA
ΔE00 5.19
Vibrant Purple
#AD03DE
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F37C6 #6EC637
analogous
#4737C6 #8F37C6 #C637B6
triadic
#8F37C6 #C68F37 #37C68F
tetradic
#8F37C6 #C64737 #6EC637 #37B6C6
square
#8F37C6 #C64737 #6EC637 #37B6C6
split-complementary
#8F37C6 #B6C637 #37C647
monochromatic
#4A1C66 #6C2A96 #8F37C6 #AA66D4 #C496E2
Accessibility & contrast
On white
5.95
#8F37C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8F37C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F37C6
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F37C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F37C6 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#1065C3
Tritanopia (blue-blind)
#87587B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8f37c6; /* rgb */ color: rgb(143, 55, 198); /* oklch */ color: oklch(52.9% 0.213 308.9);
Tailwind
colors: {
custom: {
50: '#b576d8',
500: '#8f37c6',
950: '#000000',
},
}SCSS
$custom: #8f37c6; $custom-light: #b576d8; $custom-dark: #000000;
JSON
{
"hex": "#8f37c6",
"rgb": {
"r": 143,
"g": 55,
"b": 198
},
"hsl": {
"h": 276.923,
"s": 56.522,
"l": 49.608
},
"oklch": {
"l": 0.52873,
"c": 0.21327,
"h": 308.9
},
"luminance": 0.12649
}Semantic roles & 50–950 ramp
primary
#8F37C6
secondary
#A5CD8C
accent
#E04882
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83