#8F37C4#8F37C4
#8F37C4 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.211 H 309.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8F37C4 |
|---|---|
| RGB | rgb(143, 55, 196) |
| HSL | hsl(277, 56%, 49%) |
| HSV | hsv(277, 72%, 77%) |
| CMYK | cmyk(27%, 71.9%, 0%, 23.1%) |
| CIE-LAB | lab(42.09, 59.63, -57.61) |
| CIE-LCH | lch(42.09, 82.91, 315.99°) |
| OKLab | oklab(52.73% 0.1343 -0.1632) |
| OKLCH | oklch(52.73% 0.211 309.4) |
| XYZ | xyz(22.6557, 12.5580, 53.4443) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.87
Purply
#983FB2
ΔE00 4.29
Blueviolet
#8A2BE2
ΔE00 4.51
Darkviolet
#9400D3
ΔE00 4.64
Violet (survey)
#9A0EEA
ΔE00 5.42
Vibrant Purple
#AD03DE
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F37C4 #6CC437
analogous
#4937C4 #8F37C4 #C437B3
triadic
#8F37C4 #C48F37 #37C48F
tetradic
#8F37C4 #C44937 #6CC437 #37B3C4
square
#8F37C4 #C44937 #6CC437 #37B3C4
split-complementary
#8F37C4 #B3C437 #37C449
monochromatic
#491C64 #6C2A94 #8F37C4 #AA65D4 #C494E1
Accessibility & contrast
On white
5.98
#8F37C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8F37C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F37C4
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F37C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F37C4 | 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)
#0060C8
Deuteranopia (green-blind)
#1665C1
Tritanopia (blue-blind)
#87577A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8f37c4; /* rgb */ color: rgb(143, 55, 196); /* oklch */ color: oklch(52.7% 0.211 309.4);
Tailwind
colors: {
custom: {
50: '#b476d7',
500: '#8f37c4',
950: '#000000',
},
}SCSS
$custom: #8f37c4; $custom-light: #b476d7; $custom-dark: #000000;
JSON
{
"hex": "#8f37c4",
"rgb": {
"r": 143,
"g": 55,
"b": 196
},
"hsl": {
"h": 277.447,
"s": 56.175,
"l": 49.216
},
"oklch": {
"l": 0.52728,
"c": 0.21134,
"h": 309.4
},
"luminance": 0.12558
}Semantic roles & 50–950 ramp
primary
#8F37C4
secondary
#A3CC8B
accent
#DF4881
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83