#B52BB9#B52BB9

#B52BB9 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.229 H 326.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B52BB9
RGBrgb(181, 43, 185)
HSLhsl(298, 62%, 45%)
HSVhsv(298, 77%, 73%)
CMYKcmyk(2.2%, 76.8%, 0%, 27.5%)
CIE-LABlab(45.71, 69.35, -45.06)
CIE-LCHlch(45.71, 82.70, 326.99°)
OKLaboklab(56.23% 0.1916 -0.1252)
OKLCHoklch(56.23% 0.229 326.8)
XYZxyz(28.6764, 15.0563, 47.2853)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BB9 #2FB92B
analogous
#6E2BB9 #B52BB9 #B92B76
triadic
#B52BB9 #B9B52B #2BB9B5
tetradic
#B52BB9 #B96E2B #2FB92B #2B76B9
square
#B52BB9 #B96E2B #2FB92B #2B76B9
split-complementary
#B52BB9 #76B92B #2BB96E
monochromatic
#541456 #841F87 #B52BB9 #D14CD5 #DE7EE1

Accessibility & contrast

On white

5.24
#B52BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B52BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BB9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BB9#FFFFFF#000000##FFFFFF
##B52BB91.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#5072B6
Tritanopia (blue-blind)
#BA4471
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b52bb9;
/* rgb */ color: rgb(181, 43, 185);
/* oklch */ color: oklch(56.2% 0.229 326.8);
Tailwind
colors: {
  custom: {
    50: '#cf75ce',
    500: '#b52bb9',
    950: '#000000',
  },
}
SCSS
$custom: #b52bb9;
$custom-light: #cf75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b52bb9",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 298.31,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56233,
    "c": 0.22892,
    "h": 326.8
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#B52BB9
secondary
#79C976
accent
#E54247
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B52BB9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B52BB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva