#B52CA6#B52CA6

#B52CA6 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.214 H 333.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B52CA6
RGBrgb(181, 44, 166)
HSLhsl(307, 61%, 44%)
HSVhsv(307, 76%, 71%)
CMYKcmyk(0%, 75.7%, 8.3%, 29%)
CIE-LABlab(44.77, 66.08, -35.32)
CIE-LCHlch(44.77, 74.92, 331.87°)
OKLaboklab(55.23% 0.1908 -0.097)
OKLCHoklch(55.23% 0.214 333)
XYZxyz(26.8398, 14.3806, 37.4311)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CA6 #2CB53B
analogous
#802CB5 #B52CA6 #B52C62
triadic
#B52CA6 #A6B52C #2CA6B5
tetradic
#B52CA6 #B5802C #2CB53B #2C62B5
square
#B52CA6 #B5802C #2CB53B #2C62B5
split-complementary
#B52CA6 #62B52C #2CB580
monochromatic
#53144C #842079 #B52CA6 #D34BC4 #DF7CD4

Accessibility & contrast

On white

5.42
#B52CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B52CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CA6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CA6#FFFFFF#000000##FFFFFF
##B52CA61.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA9
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#BD3B67
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b52ca6;
/* rgb */ color: rgb(181, 44, 166);
/* oklch */ color: oklch(55.2% 0.214 333.0);
Tailwind
colors: {
  custom: {
    50: '#cf74c1',
    500: '#b52ca6',
    950: '#000000',
  },
}
SCSS
$custom: #b52ca6;
$custom-light: #cf74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ca6",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 306.569,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.21401,
    "h": 333
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#B52CA6
secondary
#75C87E
accent
#E45544
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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