#B22B9D#B22B9D
#B22B9D is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.207 H 335.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B22B9D |
|---|---|
| RGB | rgb(178, 43, 157) |
| HSL | hsl(309, 61%, 43%) |
| HSV | hsv(309, 76%, 70%) |
| CMYK | cmyk(0%, 75.8%, 11.8%, 30.2%) |
| CIE-LAB | lab(43.70, 64.37, -31.67) |
| CIE-LCH | lch(43.70, 71.74, 333.80°) |
| OKLab | oklab(54.21% 0.1881 -0.0866) |
| OKLCH | oklch(54.21% 0.207 335.3) |
| XYZ | xyz(25.3101, 13.6293, 33.1895) |
| Luminance | 0.1363 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.73
Medium Purple
#9E43A2
ΔE00 4.72
Warm Purple
#952E8F
ΔE00 5.60
Barney
#AC1DB8
ΔE00 5.69
Barney Purple
#A00498
ΔE00 5.94
Mediumvioletred
#C71585
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22B9D #2BB240
analogous
#832BB2 #B22B9D #B22B5A
triadic
#B22B9D #9DB22B #2B9DB2
tetradic
#B22B9D #B2832B #2BB240 #2B5AB2
square
#B22B9D #B2832B #2BB240 #2B5AB2
split-complementary
#B22B9D #5AB22B #2BB283
monochromatic
#4F1346 #811F72 #B22B9D #D348BD #DF79CF
Accessibility & contrast
On white
5.64
#B22B9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#B22B9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22B9D
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22B9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22B9D | 1.00 | 5.64 | 3.73 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5AA0
Deuteranopia (green-blind)
#5C6E9A
Tritanopia (blue-blind)
#BB3662
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b22b9d; /* rgb */ color: rgb(178, 43, 157); /* oklch */ color: oklch(54.2% 0.207 335.3);
Tailwind
colors: {
custom: {
50: '#cd73ba',
500: '#b22b9d',
950: '#000000',
},
}SCSS
$custom: #b22b9d; $custom-light: #cd73ba; $custom-dark: #000000;
JSON
{
"hex": "#b22b9d",
"rgb": {
"r": 178,
"g": 43,
"b": 157
},
"hsl": {
"h": 309.333,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.54209,
"c": 0.2071,
"h": 335.3
},
"luminance": 0.13627
}Semantic roles & 50–950 ramp
primary
#B22B9D
secondary
#72C77F
accent
#E45D44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80