#8937B9#8937B9
#8937B9 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.199 H 310.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8937B9 |
|---|---|
| RGB | rgb(137, 55, 185) |
| HSL | hsl(278, 54%, 47%) |
| HSV | hsv(278, 70%, 73%) |
| CMYK | cmyk(25.9%, 70.3%, 0%, 27.5%) |
| CIE-LAB | lab(40.50, 56.02, -53.79) |
| CIE-LCH | lch(40.50, 77.66, 316.17°) |
| OKLab | oklab(51.18% 0.1279 -0.1522) |
| OKLCH | oklch(51.18% 0.199 310) |
| XYZ | xyz(20.4380, 11.5540, 47.0430) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.54
Purply
#983FB2
ΔE00 4.19
Darkviolet
#9400D3
ΔE00 5.22
Blueviolet
#8A2BE2
ΔE00 5.76
Barney
#AC1DB8
ΔE00 6.43
Purple (survey)
#7E1E9C
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8937B9 #67B937
analogous
#4837B9 #8937B9 #B937A8
triadic
#8937B9 #B98937 #37B989
tetradic
#8937B9 #B94837 #67B937 #37A8B9
square
#8937B9 #B94837 #67B937 #37A8B9
split-complementary
#8937B9 #A8B937 #37B948
monochromatic
#431B5B #66298A #8937B9 #A55ECF #C08DDD
Accessibility & contrast
On white
6.34
#8937B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#8937B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8937B9
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8937B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8937B9 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#2061B6
Tritanopia (blue-blind)
#825374
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8937b9; /* rgb */ color: rgb(137, 55, 185); /* oklch */ color: oklch(51.2% 0.199 310.0);
Tailwind
colors: {
custom: {
50: '#b075cf',
500: '#8937b9',
950: '#000000',
},
}SCSS
$custom: #8937b9; $custom-light: #b075cf; $custom-dark: #000000;
JSON
{
"hex": "#8937b9",
"rgb": {
"r": 137,
"g": 55,
"b": 185
},
"hsl": {
"h": 277.846,
"s": 54.167,
"l": 47.059
},
"oklch": {
"l": 0.51181,
"c": 0.19876,
"h": 310
},
"luminance": 0.11554
}Semantic roles & 50–950 ramp
primary
#8937B9
secondary
#9DC884
accent
#DE4A81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82