#B52CAB#B52CAB

#B52CAB is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.218 H 331.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B52CAB
RGBrgb(181, 44, 171)
HSLhsl(304, 61%, 44%)
HSVhsv(304, 76%, 71%)
CMYKcmyk(0%, 75.7%, 5.5%, 29%)
CIE-LABlab(45.04, 66.84, -37.88)
CIE-LCHlch(45.04, 76.83, 330.46°)
OKLaboklab(55.5% 0.1909 -0.1044)
OKLCHoklch(55.5% 0.218 331.3)
XYZxyz(27.3074, 14.5676, 39.8938)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CAB #2CB536
analogous
#7B2CB5 #B52CAB #B52C66
triadic
#B52CAB #ABB52C #2CABB5
tetradic
#B52CAB #B57B2C #2CB536 #2C66B5
square
#B52CAB #B57B2C #2CB536 #2C66B5
split-complementary
#B52CAB #66B52C #2CB57B
monochromatic
#53144E #84207C #B52CAB #D34BC9 #DF7CD8

Accessibility & contrast

On white

5.37
#B52CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B52CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CAB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CAB#FFFFFF#000000##FFFFFF
##B52CAB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAE
Deuteranopia (green-blind)
#5871A8
Tritanopia (blue-blind)
#BC3D6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52cab;
/* rgb */ color: rgb(181, 44, 171);
/* oklch */ color: oklch(55.5% 0.218 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf74c4',
    500: '#b52cab',
    950: '#000000',
  },
}
SCSS
$custom: #b52cab;
$custom-light: #cf74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cab",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 304.38,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55501,
    "c": 0.21761,
    "h": 331.3
  },
  "luminance": 0.14565
}

Semantic roles & 50–950 ramp

primary
#B52CAB
secondary
#75C87B
accent
#E44F44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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