#8937B2#8937B2
#8937B2 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.192 H 312.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8937B2 |
|---|---|
| RGB | rgb(137, 55, 178) |
| HSL | hsl(280, 53%, 46%) |
| HSV | hsv(280, 69%, 70%) |
| CMYK | cmyk(23%, 69.1%, 0%, 30.2%) |
| CIE-LAB | lab(40.02, 54.50, -50.42) |
| CIE-LCH | lch(40.02, 74.25, 317.23°) |
| OKLab | oklab(50.69% 0.1286 -0.1423) |
| OKLCH | oklch(50.69% 0.192 312.1) |
| XYZ | xyz(19.7171, 11.2656, 43.2467) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.79
Darkorchid
#9932CC
ΔE00 4.32
Purple (survey)
#7E1E9C
ΔE00 5.79
Darkviolet
#9400D3
ΔE00 5.91
Barney
#AC1DB8
ΔE00 6.19
Blueviolet
#8A2BE2
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8937B2 #60B237
analogous
#4B37B2 #8937B2 #B2379D
triadic
#8937B2 #B28937 #37B289
tetradic
#8937B2 #B24B37 #60B237 #379DB2
square
#8937B2 #B24B37 #60B237 #379DB2
split-complementary
#8937B2 #9DB237 #37B24B
monochromatic
#411A54 #652983 #8937B2 #A65ACC #BF89DB
Accessibility & contrast
On white
6.46
#8937B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#8937B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8937B2
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8937B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8937B2 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#2A60AF
Tritanopia (blue-blind)
#845170
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8937b2; /* rgb */ color: rgb(137, 55, 178); /* oklch */ color: oklch(50.7% 0.192 312.1);
Tailwind
colors: {
custom: {
50: '#af74ca',
500: '#8937b2',
950: '#000000',
},
}SCSS
$custom: #8937b2; $custom-light: #af74ca; $custom-dark: #000000;
JSON
{
"hex": "#8937b2",
"rgb": {
"r": 137,
"g": 55,
"b": 178
},
"hsl": {
"h": 280,
"s": 52.79,
"l": 45.686
},
"oklch": {
"l": 0.50692,
"c": 0.19182,
"h": 312.1
},
"luminance": 0.11265
}Semantic roles & 50–950 ramp
primary
#8937B2
secondary
#97C580
accent
#DC4C7C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82