#8937B3#8937B3
#8937B3 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.193 H 311.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8937B3 |
|---|---|
| RGB | rgb(137, 55, 179) |
| HSL | hsl(280, 53%, 46%) |
| HSV | hsv(280, 69%, 70%) |
| CMYK | cmyk(23.5%, 69.3%, 0%, 29.8%) |
| CIE-LAB | lab(40.09, 54.72, -50.91) |
| CIE-LCH | lch(40.09, 74.74, 317.07°) |
| OKLab | oklab(50.76% 0.1285 -0.1437) |
| OKLCH | oklch(50.76% 0.193 311.8) |
| XYZ | xyz(19.8179, 11.3059, 43.7774) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.83
Darkorchid
#9932CC
ΔE00 4.20
Darkviolet
#9400D3
ΔE00 5.80
Purple (survey)
#7E1E9C
ΔE00 5.88
Barney
#AC1DB8
ΔE00 6.21
Blueviolet
#8A2BE2
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8937B3 #61B337
analogous
#4B37B3 #8937B3 #B3379F
triadic
#8937B3 #B38937 #37B389
tetradic
#8937B3 #B34B37 #61B337 #379FB3
square
#8937B3 #B34B37 #61B337 #379FB3
split-complementary
#8937B3 #9FB337 #37B34B
monochromatic
#411A55 #652984 #8937B3 #A65BCD #BF8ADB
Accessibility & contrast
On white
6.44
#8937B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#8937B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8937B3
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8937B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8937B3 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#2960B0
Tritanopia (blue-blind)
#845171
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8937b3; /* rgb */ color: rgb(137, 55, 179); /* oklch */ color: oklch(50.8% 0.193 311.8);
Tailwind
colors: {
custom: {
50: '#af74ca',
500: '#8937b3',
950: '#000000',
},
}SCSS
$custom: #8937b3; $custom-light: #af74ca; $custom-dark: #000000;
JSON
{
"hex": "#8937b3",
"rgb": {
"r": 137,
"g": 55,
"b": 179
},
"hsl": {
"h": 279.677,
"s": 52.991,
"l": 45.882
},
"oklch": {
"l": 0.50761,
"c": 0.19281,
"h": 311.8
},
"luminance": 0.11305
}Semantic roles & 50–950 ramp
primary
#8937B3
secondary
#98C581
accent
#DC4B7D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82