#9B2A99#9B2A99
#9B2A99 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.193 H 328.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2A99 |
|---|---|
| RGB | rgb(155, 42, 153) |
| HSL | hsl(301, 57%, 39%) |
| HSV | hsv(301, 73%, 61%) |
| CMYK | cmyk(0%, 72.9%, 1.3%, 39.2%) |
| CIE-LAB | lab(39.46, 58.83, -36.22) |
| CIE-LCH | lch(39.46, 69.09, 328.39°) |
| OKLab | oklab(50.35% 0.1651 -0.1002) |
| OKLCH | oklch(50.35% 0.193 328.7) |
| XYZ | xyz(20.0951, 10.9259, 31.1813) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.90
Barney Purple
#A00498
ΔE00 2.82
Medium Purple
#9E43A2
ΔE00 4.76
Ugly Purple
#A442A0
ΔE00 5.12
Barney
#AC1DB8
ΔE00 5.23
Purply
#983FB2
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2A99 #2A9B2C
analogous
#642A9B #9B2A99 #9B2A60
triadic
#9B2A99 #999B2A #2A999B
tetradic
#9B2A99 #9B642A #2A9B2C #2A609B
square
#9B2A99 #9B642A #2A9B2C #2A609B
split-complementary
#9B2A99 #609B2A #2A9B64
monochromatic
#3B103A #6B1D69 #9B2A99 #C939C7 #D669D4
Accessibility & contrast
On white
6.59
#9B2A99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#9B2A99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2A99
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2A99 | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18539C
Deuteranopia (green-blind)
#4A6296
Tritanopia (blue-blind)
#A03A5F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9b2a99; /* rgb */ color: rgb(155, 42, 153); /* oklch */ color: oklch(50.3% 0.193 328.7);
Tailwind
colors: {
custom: {
50: '#bc6fb7',
500: '#9b2a99',
950: '#000000',
},
}SCSS
$custom: #9b2a99; $custom-light: #bc6fb7; $custom-dark: #000000;
JSON
{
"hex": "#9b2a99",
"rgb": {
"r": 155,
"g": 42,
"b": 153
},
"hsl": {
"h": 301.062,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.50349,
"c": 0.19308,
"h": 328.7
},
"luminance": 0.10924
}Semantic roles & 50–950 ramp
primary
#9B2A99
secondary
#64BD66
accent
#E14A47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80