#8932B1#8932B1
#8932B1 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.197 H 312.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8932B1 |
|---|---|
| RGB | rgb(137, 50, 177) |
| HSL | hsl(281, 56%, 45%) |
| HSV | hsv(281, 72%, 69%) |
| CMYK | cmyk(22.6%, 71.8%, 0%, 30.6%) |
| CIE-LAB | lab(39.20, 56.43, -51.16) |
| CIE-LCH | lch(39.20, 76.17, 317.80°) |
| OKLab | oklab(50.08% 0.134 -0.1444) |
| OKLCH | oklch(50.08% 0.197 312.9) |
| XYZ | xyz(19.3915, 10.7745, 42.6446) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.36
Darkorchid
#9932CC
ΔE00 4.61
Purple (survey)
#7E1E9C
ΔE00 5.01
Darkviolet
#9400D3
ΔE00 5.51
Barney
#AC1DB8
ΔE00 6.11
Rebeccapurple
#663399
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8932B1 #5AB132
analogous
#4932B1 #8932B1 #B1329A
triadic
#8932B1 #B18932 #32B189
tetradic
#8932B1 #B14932 #5AB132 #329AB1
square
#8932B1 #B14932 #5AB132 #329AB1
split-complementary
#8932B1 #9AB132 #32B149
monochromatic
#3F1752 #642581 #8932B1 #A752CE #BF82DC
Accessibility & contrast
On white
6.66
#8932B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#8932B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8932B1
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8932B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8932B1 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#265EAE
Tritanopia (blue-blind)
#854D6E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8932b1; /* rgb */ color: rgb(137, 50, 177); /* oklch */ color: oklch(50.1% 0.197 312.9);
Tailwind
colors: {
custom: {
50: '#af72c9',
500: '#8932b1',
950: '#000000',
},
}SCSS
$custom: #8932b1; $custom-light: #af72c9; $custom-dark: #000000;
JSON
{
"hex": "#8932b1",
"rgb": {
"r": 137,
"g": 50,
"b": 177
},
"hsl": {
"h": 281.102,
"s": 55.947,
"l": 44.51
},
"oklch": {
"l": 0.50081,
"c": 0.19703,
"h": 312.9
},
"luminance": 0.10774
}Semantic roles & 50–950 ramp
primary
#8932B1
secondary
#92C57A
accent
#DF4978
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82