#B52CA4#B52CA4

#B52CA4 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.213 H 333.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B52CA4
RGBrgb(181, 44, 164)
HSLhsl(307, 61%, 44%)
HSVhsv(307, 76%, 71%)
CMYKcmyk(0%, 75.7%, 9.4%, 29%)
CIE-LABlab(44.67, 65.78, -34.29)
CIE-LCHlch(44.67, 74.18, 332.46°)
OKLaboklab(55.12% 0.1907 -0.094)
OKLCHoklch(55.12% 0.213 333.7)
XYZxyz(26.6578, 14.3078, 36.4725)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CA4 #2CB53D
analogous
#822CB5 #B52CA4 #B52C60
triadic
#B52CA4 #A4B52C #2CA4B5
tetradic
#B52CA4 #B5822C #2CB53D #2C60B5
square
#B52CA4 #B5822C #2CB53D #2C60B5
split-complementary
#B52CA4 #60B52C #2CB582
monochromatic
#53144B #842077 #B52CA4 #D34BC2 #DF7CD3

Accessibility & contrast

On white

5.44
#B52CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B52CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CA4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CA4#FFFFFF#000000##FFFFFF
##B52CA41.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA7
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#BD3A66
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b52ca4;
/* rgb */ color: rgb(181, 44, 164);
/* oklch */ color: oklch(55.1% 0.213 333.7);
Tailwind
colors: {
  custom: {
    50: '#cf74bf',
    500: '#b52ca4',
    950: '#000000',
  },
}
SCSS
$custom: #b52ca4;
$custom-light: #cf74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ca4",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 307.445,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.2126,
    "h": 333.7
  },
  "luminance": 0.14305
}

Semantic roles & 50–950 ramp

primary
#B52CA4
secondary
#75C87F
accent
#E45844
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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