#B52DA0#B52DA0

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

Color values

HEX#B52DA0
RGBrgb(181, 45, 160)
HSLhsl(309, 60%, 44%)
HSVhsv(309, 75%, 71%)
CMYKcmyk(0%, 75.1%, 11.6%, 29%)
CIE-LABlab(44.58, 64.88, -32.05)
CIE-LCHlch(44.58, 72.36, 333.71°)
OKLaboklab(54.99% 0.1895 -0.0876)
OKLCHoklch(54.99% 0.209 335.2)
XYZxyz(26.3400, 14.2410, 34.6124)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DA0 #2DB542
analogous
#862DB5 #B52DA0 #B52D5C
triadic
#B52DA0 #A0B52D #2DA0B5
tetradic
#B52DA0 #B5862D #2DB542 #2D5CB5
square
#B52DA0 #B5862D #2DB542 #2D5CB5
split-complementary
#B52DA0 #5CB52D #2DB586
monochromatic
#531549 #842175 #B52DA0 #D34DBE #DF7ED0

Accessibility & contrast

On white

5.46
#B52DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52DA0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DA0#FFFFFF#000000##FFFFFF
##B52DA01.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA3
Deuteranopia (green-blind)
#5E719D
Tritanopia (blue-blind)
#BE3864
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52da0;
/* rgb */ color: rgb(181, 45, 160);
/* oklch */ color: oklch(55.0% 0.209 335.2);
Tailwind
colors: {
  custom: {
    50: '#cf74bc',
    500: '#b52da0',
    950: '#000000',
  },
}
SCSS
$custom: #b52da0;
$custom-light: #cf74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b52da0",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 309.265,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.20878,
    "h": 335.2
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#B52DA0
secondary
#76C783
accent
#E35D44
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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