#B52DAB#B52DAB

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

Color values

HEX#B52DAB
RGBrgb(181, 45, 171)
HSLhsl(304, 60%, 44%)
HSVhsv(304, 75%, 71%)
CMYKcmyk(0%, 75.1%, 5.5%, 29%)
CIE-LABlab(45.14, 66.54, -37.71)
CIE-LCHlch(45.14, 76.48, 330.46°)
OKLaboklab(55.58% 0.1901 -0.1039)
OKLCHoklch(55.58% 0.217 331.3)
XYZxyz(27.3451, 14.6430, 39.9064)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DAB #2DB537
analogous
#7B2DB5 #B52DAB #B52D67
triadic
#B52DAB #ABB52D #2DABB5
tetradic
#B52DAB #B57B2D #2DB537 #2D67B5
square
#B52DAB #B57B2D #2DB537 #2D67B5
split-complementary
#B52DAB #67B52D #2DB57B
monochromatic
#53154E #84217D #B52DAB #D34DC9 #DF7ED8

Accessibility & contrast

On white

5.35
#B52DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B52DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52DAB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DAB#FFFFFF#000000##FFFFFF
##B52DAB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAE
Deuteranopia (green-blind)
#5971A8
Tritanopia (blue-blind)
#BC3E6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52dab;
/* rgb */ color: rgb(181, 45, 171);
/* oklch */ color: oklch(55.6% 0.217 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf75c4',
    500: '#b52dab',
    950: '#000000',
  },
}
SCSS
$custom: #b52dab;
$custom-light: #cf75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52dab",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 304.412,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55576,
    "c": 0.21661,
    "h": 331.3
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#B52DAB
secondary
#76C77C
accent
#E35044
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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