#8937B4#8937B4
#8937B4 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.194 H 311.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8937B4 |
|---|---|
| RGB | rgb(137, 55, 180) |
| HSL | hsl(279, 53%, 46%) |
| HSV | hsv(279, 69%, 71%) |
| CMYK | cmyk(23.9%, 69.4%, 0%, 29.4%) |
| CIE-LAB | lab(40.16, 54.93, -51.39) |
| CIE-LCH | lch(40.16, 75.22, 316.91°) |
| OKLab | oklab(50.83% 0.1284 -0.1451) |
| OKLCH | oklch(50.83% 0.194 311.5) |
| XYZ | xyz(19.9194, 11.3465, 44.3119) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.88
Darkorchid
#9932CC
ΔE00 4.08
Darkviolet
#9400D3
ΔE00 5.70
Purple (survey)
#7E1E9C
ΔE00 5.98
Barney
#AC1DB8
ΔE00 6.24
Blueviolet
#8A2BE2
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8937B4 #62B437
analogous
#4A37B4 #8937B4 #B437A0
triadic
#8937B4 #B48937 #37B489
tetradic
#8937B4 #B44A37 #62B437 #37A0B4
square
#8937B4 #B44A37 #62B437 #37A0B4
split-complementary
#8937B4 #A0B437 #37B44A
monochromatic
#421A56 #652985 #8937B4 #A65BCD #BF8ADB
Accessibility & contrast
On white
6.42
#8937B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#8937B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8937B4
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8937B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8937B4 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#2760B1
Tritanopia (blue-blind)
#845171
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8937b4; /* rgb */ color: rgb(137, 55, 180); /* oklch */ color: oklch(50.8% 0.194 311.5);
Tailwind
colors: {
custom: {
50: '#af74cb',
500: '#8937b4',
950: '#000000',
},
}SCSS
$custom: #8937b4; $custom-light: #af74cb; $custom-dark: #000000;
JSON
{
"hex": "#8937b4",
"rgb": {
"r": 137,
"g": 55,
"b": 180
},
"hsl": {
"h": 279.36,
"s": 53.191,
"l": 46.078
},
"oklch": {
"l": 0.5083,
"c": 0.1938,
"h": 311.5
},
"luminance": 0.11346
}Semantic roles & 50–950 ramp
primary
#8937B4
secondary
#99C681
accent
#DD4B7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82