#9B2F96#9B2F96
#9B2F96 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.185 H 329.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2F96 |
|---|---|
| RGB | rgb(155, 47, 150) |
| HSL | hsl(303, 53%, 40%) |
| HSV | hsv(303, 70%, 61%) |
| CMYK | cmyk(0%, 69.7%, 3.2%, 39.2%) |
| CIE-LAB | lab(39.92, 56.54, -33.66) |
| CIE-LCH | lch(39.92, 65.80, 329.23°) |
| OKLab | oklab(50.63% 0.1599 -0.0928) |
| OKLCH | oklch(50.63% 0.185 329.9) |
| XYZ | xyz(20.0390, 11.2051, 29.9556) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.51
Barney Purple
#A00498
ΔE00 3.57
Medium Purple
#9E43A2
ΔE00 4.25
Ugly Purple
#A442A0
ΔE00 4.48
Barney
#AC1DB8
ΔE00 5.79
Purply
#983FB2
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2F96 #2F9B34
analogous
#6A2F9B #9B2F96 #9B2F60
triadic
#9B2F96 #969B2F #2F969B
tetradic
#9B2F96 #9B6A2F #2F9B34 #2F609B
square
#9B2F96 #9B6A2F #2F9B34 #2F609B
split-complementary
#9B2F96 #609B2F #2F9B6A
monochromatic
#3D133B #6C2169 #9B2F96 #C642BF #D471CF
Accessibility & contrast
On white
6.48
#9B2F96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#9B2F96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2F96
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2F96 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#4E6393
Tritanopia (blue-blind)
#A13C5F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9b2f96; /* rgb */ color: rgb(155, 47, 150); /* oklch */ color: oklch(50.6% 0.185 329.9);
Tailwind
colors: {
custom: {
50: '#bc71b5',
500: '#9b2f96',
950: '#000000',
},
}SCSS
$custom: #9b2f96; $custom-light: #bc71b5; $custom-dark: #000000;
JSON
{
"hex": "#9b2f96",
"rgb": {
"r": 155,
"g": 47,
"b": 150
},
"hsl": {
"h": 302.778,
"s": 53.465,
"l": 39.608
},
"oklch": {
"l": 0.50632,
"c": 0.18484,
"h": 329.9
},
"luminance": 0.11204
}Semantic roles & 50–950 ramp
primary
#9B2F96
secondary
#6ABB6E
accent
#DD524B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80