#8937B8#8937B8
#8937B8 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.1% C 0.198 H 310.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8937B8 |
|---|---|
| RGB | rgb(137, 55, 184) |
| HSL | hsl(278, 54%, 47%) |
| HSV | hsv(278, 70%, 72%) |
| CMYK | cmyk(25.5%, 70.1%, 0%, 27.8%) |
| CIE-LAB | lab(40.43, 55.80, -53.31) |
| CIE-LCH | lch(40.43, 77.17, 316.31°) |
| OKLab | oklab(51.11% 0.128 -0.1508) |
| OKLCH | oklch(51.11% 0.198 310.3) |
| XYZ | xyz(20.3328, 11.5119, 46.4890) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.64
Purply
#983FB2
ΔE00 4.12
Darkviolet
#9400D3
ΔE00 5.31
Blueviolet
#8A2BE2
ΔE00 5.92
Purple (survey)
#7E1E9C
ΔE00 6.38
Barney
#AC1DB8
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8937B8 #66B837
analogous
#4937B8 #8937B8 #B837A6
triadic
#8937B8 #B88937 #37B889
tetradic
#8937B8 #B84937 #66B837 #37A6B8
square
#8937B8 #B84937 #66B837 #37A6B8
split-complementary
#8937B8 #A6B837 #37B849
monochromatic
#431B5A #662989 #8937B8 #A55DCF #C08DDD
Accessibility & contrast
On white
6.36
#8937B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#8937B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8937B8
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8937B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8937B8 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#2161B5
Tritanopia (blue-blind)
#835374
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8937b8; /* rgb */ color: rgb(137, 55, 184); /* oklch */ color: oklch(51.1% 0.198 310.3);
Tailwind
colors: {
custom: {
50: '#b075ce',
500: '#8937b8',
950: '#000000',
},
}SCSS
$custom: #8937b8; $custom-light: #b075ce; $custom-dark: #000000;
JSON
{
"hex": "#8937b8",
"rgb": {
"r": 137,
"g": 55,
"b": 184
},
"hsl": {
"h": 278.14,
"s": 53.975,
"l": 46.863
},
"oklch": {
"l": 0.5111,
"c": 0.19777,
"h": 310.3
},
"luminance": 0.11511
}Semantic roles & 50–950 ramp
primary
#8937B8
secondary
#9CC784
accent
#DD4A80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82