#8930B1#8930B1
#8930B1 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.199 H 313.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8930B1 |
|---|---|
| RGB | rgb(137, 48, 177) |
| HSL | hsl(281, 57%, 44%) |
| HSV | hsv(281, 73%, 69%) |
| CMYK | cmyk(22.6%, 72.9%, 0%, 30.6%) |
| CIE-LAB | lab(38.91, 57.24, -51.62) |
| CIE-LCH | lch(38.91, 77.08, 317.95°) |
| OKLab | oklab(49.88% 0.136 -0.1458) |
| OKLCH | oklch(49.88% 0.199 313) |
| XYZ | xyz(19.3079, 10.6072, 42.6167) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.62
Darkorchid
#9932CC
ΔE00 4.72
Purple (survey)
#7E1E9C
ΔE00 4.77
Darkviolet
#9400D3
ΔE00 5.35
Barney
#AC1DB8
ΔE00 6.12
Rebeccapurple
#663399
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8930B1 #58B130
analogous
#4930B1 #8930B1 #B13099
triadic
#8930B1 #B18930 #30B189
tetradic
#8930B1 #B14930 #58B130 #3099B1
square
#8930B1 #B14930 #58B130 #3099B1
split-complementary
#8930B1 #99B130 #30B149
monochromatic
#3E1651 #642381 #8930B1 #A74FCF #BF7FDC
Accessibility & contrast
On white
6.73
#8930B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#8930B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8930B1
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8930B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8930B1 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#235EAE
Tritanopia (blue-blind)
#854C6E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8930b1; /* rgb */ color: rgb(137, 48, 177); /* oklch */ color: oklch(49.9% 0.199 313.0);
Tailwind
colors: {
custom: {
50: '#b071c9',
500: '#8930b1',
950: '#000000',
},
}SCSS
$custom: #8930b1; $custom-light: #b071c9; $custom-dark: #000000;
JSON
{
"hex": "#8930b1",
"rgb": {
"r": 137,
"g": 48,
"b": 177
},
"hsl": {
"h": 281.395,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.49877,
"c": 0.19938,
"h": 313
},
"luminance": 0.10607
}Semantic roles & 50–950 ramp
primary
#8930B1
secondary
#90C578
accent
#E14777
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82