#B52CA9#B52CA9

#B52CA9 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.216 H 332.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B52CA9
RGBrgb(181, 44, 169)
HSLhsl(305, 61%, 44%)
HSVhsv(305, 76%, 71%)
CMYKcmyk(0%, 75.7%, 6.6%, 29%)
CIE-LABlab(44.93, 66.53, -36.86)
CIE-LCHlch(44.93, 76.06, 331.01°)
OKLaboklab(55.39% 0.1909 -0.1014)
OKLCHoklch(55.39% 0.216 332)
XYZxyz(27.1182, 14.4920, 38.8974)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CA9 #2CB538
analogous
#7C2CB5 #B52CA9 #B52C65
triadic
#B52CA9 #A9B52C #2CA9B5
tetradic
#B52CA9 #B57C2C #2CB538 #2C65B5
square
#B52CA9 #B57C2C #2CB538 #2C65B5
split-complementary
#B52CA9 #65B52C #2CB57C
monochromatic
#53144D #84207B #B52CA9 #D34BC7 #DF7CD7

Accessibility & contrast

On white

5.39
#B52CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B52CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CA9
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CA9#FFFFFF#000000##FFFFFF
##B52CA91.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAC
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#BD3C69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b52ca9;
/* rgb */ color: rgb(181, 44, 169);
/* oklch */ color: oklch(55.4% 0.216 332.0);
Tailwind
colors: {
  custom: {
    50: '#cf74c3',
    500: '#b52ca9',
    950: '#000000',
  },
}
SCSS
$custom: #b52ca9;
$custom-light: #cf74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ca9",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 305.255,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.21616,
    "h": 332
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#B52CA9
secondary
#75C87C
accent
#E45244
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B52CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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