#B52CAE#B52CAE

#B52CAE is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.220 H 330.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B52CAE
RGBrgb(181, 44, 174)
HSLhsl(303, 61%, 44%)
HSVhsv(303, 76%, 71%)
CMYKcmyk(0%, 75.7%, 3.9%, 29%)
CIE-LABlab(45.20, 67.31, -39.40)
CIE-LCHlch(45.20, 77.99, 329.66°)
OKLaboklab(55.67% 0.191 -0.1088)
OKLCHoklch(55.67% 0.22 330.3)
XYZxyz(27.5966, 14.6833, 41.4169)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CAE #2CB533
analogous
#782CB5 #B52CAE #B52C6A
triadic
#B52CAE #AEB52C #2CAEB5
tetradic
#B52CAE #B5782C #2CB533 #2C6AB5
square
#B52CAE #B5782C #2CB533 #2C6AB5
split-complementary
#B52CAE #6AB52C #2CB578
monochromatic
#53144F #84207F #B52CAE #D34BCC #DF7CDA

Accessibility & contrast

On white

5.34
#B52CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B52CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CAE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CAE#FFFFFF#000000##FFFFFF
##B52CAE1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5FB1
Deuteranopia (green-blind)
#5771AB
Tritanopia (blue-blind)
#BC3F6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52cae;
/* rgb */ color: rgb(181, 44, 174);
/* oklch */ color: oklch(55.7% 0.220 330.3);
Tailwind
colors: {
  custom: {
    50: '#cf74c6',
    500: '#b52cae',
    950: '#000000',
  },
}
SCSS
$custom: #b52cae;
$custom-light: #cf74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cae",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 303.066,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.2198,
    "h": 330.3
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#B52CAE
secondary
#75C879
accent
#E44C44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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