#8D37C6#8D37C6
#8D37C6 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.213 H 308.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8D37C6 |
|---|---|
| RGB | rgb(141, 55, 198) |
| HSL | hsl(276, 57%, 50%) |
| HSV | hsv(276, 72%, 78%) |
| CMYK | cmyk(28.8%, 72.2%, 0%, 22.4%) |
| CIE-LAB | lab(41.96, 59.68, -59.00) |
| CIE-LCH | lch(41.96, 83.92, 315.33°) |
| OKLab | oklab(52.62% 0.1313 -0.1674) |
| OKLCH | oklch(52.62% 0.213 308.1) |
| XYZ | xyz(22.5416, 12.4727, 54.6351) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.09
Blueviolet
#8A2BE2
ΔE00 4.08
Darkviolet
#9400D3
ΔE00 4.51
Purply
#983FB2
ΔE00 4.79
Violet (survey)
#9A0EEA
ΔE00 5.20
Vibrant Purple
#AD03DE
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D37C6 #70C637
analogous
#4637C6 #8D37C6 #C637B8
triadic
#8D37C6 #C68D37 #37C68D
tetradic
#8D37C6 #C64637 #70C637 #37B8C6
square
#8D37C6 #C64637 #70C637 #37B8C6
split-complementary
#8D37C6 #B8C637 #37C646
monochromatic
#491C66 #6B2A96 #8D37C6 #A866D4 #C396E2
Accessibility & contrast
On white
6.01
#8D37C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#8D37C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D37C6
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D37C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D37C6 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0764C3
Tritanopia (blue-blind)
#84587B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8d37c6; /* rgb */ color: rgb(141, 55, 198); /* oklch */ color: oklch(52.6% 0.213 308.1);
Tailwind
colors: {
custom: {
50: '#b376d8',
500: '#8d37c6',
950: '#000000',
},
}SCSS
$custom: #8d37c6; $custom-light: #b376d8; $custom-dark: #000000;
JSON
{
"hex": "#8d37c6",
"rgb": {
"r": 141,
"g": 55,
"b": 198
},
"hsl": {
"h": 276.084,
"s": 56.522,
"l": 49.608
},
"oklch": {
"l": 0.52622,
"c": 0.21273,
"h": 308.1
},
"luminance": 0.12472
}Semantic roles & 50–950 ramp
primary
#8D37C6
secondary
#A6CD8C
accent
#E04885
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83