#9B3EA2#9B3EA2
#9B3EA2 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.9% C 0.175 H 324.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3EA2 |
|---|---|
| RGB | rgb(155, 62, 162) |
| HSL | hsl(296, 45%, 44%) |
| HSV | hsv(296, 62%, 64%) |
| CMYK | cmyk(4.3%, 61.7%, 0%, 36.5%) |
| CIE-LAB | lab(42.80, 52.44, -36.33) |
| CIE-LCH | lch(42.80, 63.79, 325.28°) |
| OKLab | oklab(52.92% 0.143 -0.1007) |
| OKLCH | oklch(52.92% 0.175 324.8) |
| XYZ | xyz(21.7613, 13.0237, 35.5430) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.40
Ugly Purple
#A442A0
ΔE00 2.55
Purply
#983FB2
ΔE00 3.25
Warm Purple
#952E8F
ΔE00 4.48
Barney
#AC1DB8
ΔE00 5.13
Light Eggplant
#894585
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3EA2 #45A23E
analogous
#693EA2 #9B3EA2 #A23E77
triadic
#9B3EA2 #A29B3E #3EA29B
tetradic
#9B3EA2 #A2693E #45A23E #3E77A2
square
#9B3EA2 #A2693E #45A23E #3E77A2
split-complementary
#9B3EA2 #77A23E #3EA269
monochromatic
#461C49 #712D76 #9B3EA2 #BA5CC1 #CD89D2
Accessibility & contrast
On white
5.83
#9B3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#9B3EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3EA2
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3EA2 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#9E4C6A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9b3ea2; /* rgb */ color: rgb(155, 62, 162); /* oklch */ color: oklch(52.9% 0.175 324.8);
Tailwind
colors: {
custom: {
50: '#bb79be',
500: '#9b3ea2',
950: '#000000',
},
}SCSS
$custom: #9b3ea2; $custom-light: #bb79be; $custom-dark: #000000;
JSON
{
"hex": "#9b3ea2",
"rgb": {
"r": 155,
"g": 62,
"b": 162
},
"hsl": {
"h": 295.8,
"s": 44.643,
"l": 43.922
},
"oklch": {
"l": 0.52921,
"c": 0.17485,
"h": 324.8
},
"luminance": 0.13022
}Semantic roles & 50–950 ramp
primary
#9B3EA2
secondary
#84BC80
accent
#D4535C
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81