#B52B9F#B52B9F
#B52B9F is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.210 H 335.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B52B9F |
|---|---|
| RGB | rgb(181, 43, 159) |
| HSL | hsl(310, 62%, 44%) |
| HSV | hsv(310, 76%, 71%) |
| CMYK | cmyk(0%, 76.2%, 12.2%, 29%) |
| CIE-LAB | lab(44.31, 65.34, -31.87) |
| CIE-LCH | lch(44.31, 72.69, 334.00°) |
| OKLab | oklab(54.78% 0.1912 -0.087) |
| OKLCH | oklch(54.78% 0.21 335.5) |
| XYZ | xyz(26.1783, 14.0571, 34.1287) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.86
Medium Purple
#9E43A2
ΔE00 4.93
Barney
#AC1DB8
ΔE00 5.77
Warm Purple
#952E8F
ΔE00 6.21
Barney Purple
#A00498
ΔE00 6.46
Purpley Pink
#C83CB9
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52B9F #2BB541
analogous
#862BB5 #B52B9F #B52B5A
triadic
#B52B9F #9FB52B #2B9FB5
tetradic
#B52B9F #B5862B #2BB541 #2B5AB5
square
#B52B9F #B5862B #2BB541 #2B5AB5
split-complementary
#B52B9F #5AB52B #2BB586
monochromatic
#521448 #841F74 #B52B9F #D449BE #E07BD0
Accessibility & contrast
On white
5.51
#B52B9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#B52B9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52B9F
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52B9F | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5CA2
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#BE3663
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b52b9f; /* rgb */ color: rgb(181, 43, 159); /* oklch */ color: oklch(54.8% 0.210 335.5);
Tailwind
colors: {
custom: {
50: '#cf74bc',
500: '#b52b9f',
950: '#000000',
},
}SCSS
$custom: #b52b9f; $custom-light: #cf74bc; $custom-dark: #000000;
JSON
{
"hex": "#b52b9f",
"rgb": {
"r": 181,
"g": 43,
"b": 159
},
"hsl": {
"h": 309.565,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.54783,
"c": 0.21011,
"h": 335.5
},
"luminance": 0.14055
}Semantic roles & 50–950 ramp
primary
#B52B9F
secondary
#74C881
accent
#E55D43
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81