#B52CAC#B52CAC

#B52CAC is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.218 H 331.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B52CAC
RGBrgb(181, 44, 172)
HSLhsl(304, 61%, 44%)
HSVhsv(304, 76%, 71%)
CMYKcmyk(0%, 75.7%, 5%, 29%)
CIE-LABlab(45.09, 66.99, -38.39)
CIE-LCHlch(45.09, 77.21, 330.19°)
OKLaboklab(55.56% 0.191 -0.1058)
OKLCHoklch(55.56% 0.218 331)
XYZxyz(27.4031, 14.6059, 40.3977)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CAC #2CB535
analogous
#7A2CB5 #B52CAC #B52C67
triadic
#B52CAC #ACB52C #2CACB5
tetradic
#B52CAC #B57A2C #2CB535 #2C67B5
square
#B52CAC #B57A2C #2CB535 #2C67B5
split-complementary
#B52CAC #67B52C #2CB57A
monochromatic
#53144E #84207D #B52CAC #D34BCA #DF7CD9

Accessibility & contrast

On white

5.36
#B52CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B52CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CAC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CAC#FFFFFF#000000##FFFFFF
##B52CAC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FAF
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#BC3E6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52cac;
/* rgb */ color: rgb(181, 44, 172);
/* oklch */ color: oklch(55.6% 0.218 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf74c5',
    500: '#b52cac',
    950: '#000000',
  },
}
SCSS
$custom: #b52cac;
$custom-light: #cf74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cac",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 303.942,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.21833,
    "h": 331
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#B52CAC
secondary
#75C87B
accent
#E44E44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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