#B52DA1#B52DA1

#B52DA1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.209 H 334.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B52DA1
RGBrgb(181, 45, 161)
HSLhsl(309, 60%, 44%)
HSVhsv(309, 75%, 71%)
CMYKcmyk(0%, 75.1%, 11%, 29%)
CIE-LABlab(44.63, 65.03, -32.57)
CIE-LCHlch(44.63, 72.73, 333.39°)
OKLaboklab(55.04% 0.1896 -0.0891)
OKLCHoklch(55.04% 0.209 334.8)
XYZxyz(26.4278, 14.2761, 35.0750)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DA1 #2DB541
analogous
#852DB5 #B52DA1 #B52D5D
triadic
#B52DA1 #A1B52D #2DA1B5
tetradic
#B52DA1 #B5852D #2DB541 #2D5DB5
square
#B52DA1 #B5852D #2DB541 #2D5DB5
split-complementary
#B52DA1 #5DB52D #2DB585
monochromatic
#53154A #842175 #B52DA1 #D34DBF #DF7ED1

Accessibility & contrast

On white

5.45
#B52DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B52DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52DA1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DA1#FFFFFF#000000##FFFFFF
##B52DA11.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA4
Deuteranopia (green-blind)
#5E719E
Tritanopia (blue-blind)
#BE3964
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b52da1;
/* rgb */ color: rgb(181, 45, 161);
/* oklch */ color: oklch(55.0% 0.209 334.8);
Tailwind
colors: {
  custom: {
    50: '#cf74bd',
    500: '#b52da1',
    950: '#000000',
  },
}
SCSS
$custom: #b52da1;
$custom-light: #cf74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b52da1",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 308.824,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5504,
    "c": 0.20947,
    "h": 334.8
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#B52DA1
secondary
#76C782
accent
#E35C44
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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