#B52DAC#B52DAC

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

Color values

HEX#B52DAC
RGBrgb(181, 45, 172)
HSLhsl(304, 60%, 44%)
HSVhsv(304, 75%, 71%)
CMYKcmyk(0%, 75.1%, 5%, 29%)
CIE-LABlab(45.19, 66.69, -38.22)
CIE-LCHlch(45.19, 76.87, 330.18°)
OKLaboklab(55.63% 0.1901 -0.1054)
OKLCHoklch(55.63% 0.217 331)
XYZxyz(27.4408, 14.6813, 40.4102)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DAC #2DB536
analogous
#7A2DB5 #B52DAC #B52D68
triadic
#B52DAC #ACB52D #2DACB5
tetradic
#B52DAC #B57A2D #2DB536 #2D68B5
square
#B52DAC #B57A2D #2DB536 #2D68B5
split-complementary
#B52DAC #68B52D #2DB57A
monochromatic
#53154F #84217D #B52DAC #D34DCA #DF7ED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52DAC#FFFFFF#000000##FFFFFF
##B52DAC1.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)
#1F5FAF
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#BC3F6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52dac;
/* rgb */ color: rgb(181, 45, 172);
/* oklch */ color: oklch(55.6% 0.217 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf75c5',
    500: '#b52dac',
    950: '#000000',
  },
}
SCSS
$custom: #b52dac;
$custom-light: #cf75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52dac",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 303.971,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.21735,
    "h": 331
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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