#B52CD2#B52CD2
#B52CD2 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.9% C 0.247 H 319.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B52CD2 |
|---|---|
| RGB | rgb(181, 44, 210) |
| HSL | hsl(290, 65%, 50%) |
| HSV | hsv(290, 79%, 82%) |
| CMYK | cmyk(13.8%, 79%, 0%, 17.6%) |
| CIE-LAB | lab(47.34, 73.32, -56.95) |
| CIE-LCH | lch(47.34, 92.84, 322.16°) |
| OKLab | oklab(57.88% 0.1886 -0.16) |
| OKLCH | oklch(57.88% 0.247 319.7) |
| XYZ | xyz(31.5881, 16.2799, 62.4388) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 3.97
Barney
#AC1DB8
ΔE00 4.84
Darkorchid
#9932CC
ΔE00 5.03
Hot Purple
#CB00F5
ΔE00 5.25
Bright Purple
#BE03FD
ΔE00 5.50
Neon Purple
#BC13FE
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52CD2 #49D22C
analogous
#622CD2 #B52CD2 #D22C9C
triadic
#B52CD2 #D2B52C #2CD2B5
tetradic
#B52CD2 #D2622C #49D22C #2C9CD2
square
#B52CD2 #D2622C #49D22C #2C9CD2
split-complementary
#B52CD2 #9CD22C #2CD262
monochromatic
#5E176D #89219F #B52CD2 #C75EDD #D991E8
Accessibility & contrast
On white
4.93
#B52CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#B52CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52CD2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52CD2 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#3C75CE
Tritanopia (blue-blind)
#B55180
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #b52cd2; /* rgb */ color: rgb(181, 44, 210); /* oklch */ color: oklch(57.9% 0.247 319.7);
Tailwind
colors: {
custom: {
50: '#d076e1',
500: '#b52cd2',
950: '#000000',
},
}SCSS
$custom: #b52cd2; $custom-light: #d076e1; $custom-dark: #000000;
JSON
{
"hex": "#b52cd2",
"rgb": {
"r": 181,
"g": 44,
"b": 210
},
"hsl": {
"h": 289.518,
"s": 65.354,
"l": 49.804
},
"oklch": {
"l": 0.57875,
"c": 0.24733,
"h": 319.7
},
"luminance": 0.16278
}Semantic roles & 50–950 ramp
primary
#B52CD2
secondary
#94D287
accent
#E83F5D
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83