#8932B2#8932B2
#8932B2 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.198 H 312.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8932B2 |
|---|---|
| RGB | rgb(137, 50, 178) |
| HSL | hsl(281, 56%, 45%) |
| HSV | hsv(281, 72%, 70%) |
| CMYK | cmyk(23%, 71.9%, 0%, 30.2%) |
| CIE-LAB | lab(39.27, 56.64, -51.64) |
| CIE-LCH | lch(39.27, 76.65, 317.64°) |
| OKLab | oklab(50.15% 0.1339 -0.1459) |
| OKLCH | oklch(50.15% 0.198 312.5) |
| XYZ | xyz(19.4916, 10.8145, 43.1715) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.39
Darkorchid
#9932CC
ΔE00 4.49
Purple (survey)
#7E1E9C
ΔE00 5.11
Darkviolet
#9400D3
ΔE00 5.39
Barney
#AC1DB8
ΔE00 6.13
Blueviolet
#8A2BE2
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8932B2 #5BB232
analogous
#4932B2 #8932B2 #B2329B
triadic
#8932B2 #B28932 #32B289
tetradic
#8932B2 #B24932 #5BB232 #329BB2
square
#8932B2 #B24932 #5BB232 #329BB2
split-complementary
#8932B2 #9BB232 #32B249
monochromatic
#3F1752 #642582 #8932B2 #A753CF #BF82DC
Accessibility & contrast
On white
6.64
#8932B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#8932B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8932B2
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8932B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8932B2 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#245EAF
Tritanopia (blue-blind)
#844E6F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8932b2; /* rgb */ color: rgb(137, 50, 178); /* oklch */ color: oklch(50.2% 0.198 312.5);
Tailwind
colors: {
custom: {
50: '#b072ca',
500: '#8932b2',
950: '#000000',
},
}SCSS
$custom: #8932b2; $custom-light: #b072ca; $custom-dark: #000000;
JSON
{
"hex": "#8932b2",
"rgb": {
"r": 137,
"g": 50,
"b": 178
},
"hsl": {
"h": 280.781,
"s": 56.14,
"l": 44.706
},
"oklch": {
"l": 0.50151,
"c": 0.19799,
"h": 312.5
},
"luminance": 0.10814
}Semantic roles & 50–950 ramp
primary
#8932B2
secondary
#92C57B
accent
#DF4879
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82