#B52FA9#B52FA9
#B52FA9 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.213 H 332.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B52FA9 |
|---|---|
| RGB | rgb(181, 47, 169) |
| HSL | hsl(305, 59%, 45%) |
| HSV | hsv(305, 74%, 71%) |
| CMYK | cmyk(0%, 74%, 6.6%, 29%) |
| CIE-LAB | lab(45.25, 65.61, -36.35) |
| CIE-LCH | lch(45.25, 75.00, 331.01°) |
| OKLab | oklab(55.62% 0.1882 -0.1) |
| OKLCH | oklch(55.62% 0.213 332) |
| XYZ | xyz(27.2341, 14.7236, 38.9360) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.53
Medium Purple
#9E43A2
ΔE00 4.35
Barney
#AC1DB8
ΔE00 4.57
Purpley Pink
#C83CB9
ΔE00 5.42
Purply
#983FB2
ΔE00 6.20
Warm Purple
#952E8F
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52FA9 #2FB53B
analogous
#7E2FB5 #B52FA9 #B52F66
triadic
#B52FA9 #A9B52F #2FA9B5
tetradic
#B52FA9 #B57E2F #2FB53B #2F66B5
square
#B52FA9 #B57E2F #2FB53B #2F66B5
split-complementary
#B52FA9 #66B52F #2FB57E
monochromatic
#54164E #84227C #B52FA9 #D150C6 #DE80D6
Accessibility & contrast
On white
5.32
#B52FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#B52FA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52FA9
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52FA9 | 1.00 | 5.32 | 3.94 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265FAC
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#BD3E69
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #b52fa9; /* rgb */ color: rgb(181, 47, 169); /* oklch */ color: oklch(55.6% 0.213 332.0);
Tailwind
colors: {
custom: {
50: '#cf75c3',
500: '#b52fa9',
950: '#000000',
},
}SCSS
$custom: #b52fa9; $custom-light: #cf75c3; $custom-dark: #000000;
JSON
{
"hex": "#b52fa9",
"rgb": {
"r": 181,
"g": 47,
"b": 169
},
"hsl": {
"h": 305.373,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.55623,
"c": 0.21311,
"h": 332
},
"luminance": 0.14721
}Semantic roles & 50–950 ramp
primary
#B52FA9
secondary
#79C780
accent
#E25446
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81