#B52C9F#B52C9F

#B52C9F is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.209 H 335.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B52C9F
RGBrgb(181, 44, 159)
HSLhsl(310, 61%, 44%)
HSVhsv(310, 76%, 71%)
CMYKcmyk(0%, 75.7%, 12.2%, 29%)
CIE-LABlab(44.42, 65.04, -31.70)
CIE-LCHlch(44.42, 72.35, 334.01°)
OKLaboklab(54.86% 0.1903 -0.0866)
OKLCHoklch(54.86% 0.209 335.5)
XYZxyz(26.2151, 14.1307, 34.1410)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52C9F #2CB542
analogous
#872CB5 #B52C9F #B52C5B
triadic
#B52C9F #9FB52C #2C9FB5
tetradic
#B52C9F #B5872C #2CB542 #2C5BB5
square
#B52C9F #B5872C #2CB542 #2C5BB5
split-complementary
#B52C9F #5BB52C #2CB587
monochromatic
#531449 #842074 #B52C9F #D34BBD #DF7CCF

Accessibility & contrast

On white

5.49
#B52C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B52C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52C9F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52C9F#FFFFFF#000000##FFFFFF
##B52C9F1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#BE3763
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52c9f;
/* rgb */ color: rgb(181, 44, 159);
/* oklch */ color: oklch(54.9% 0.209 335.5);
Tailwind
colors: {
  custom: {
    50: '#cf74bc',
    500: '#b52c9f',
    950: '#000000',
  },
}
SCSS
$custom: #b52c9f;
$custom-light: #cf74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b52c9f",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 309.635,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54859,
    "c": 0.20911,
    "h": 335.5
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

primary
#B52C9F
secondary
#75C882
accent
#E45E44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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