#B52DAE#B52DAE

#B52DAE is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.219 H 330.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B52DAE
RGBrgb(181, 45, 174)
HSLhsl(303, 60%, 44%)
HSVhsv(303, 75%, 71%)
CMYKcmyk(0%, 75.1%, 3.9%, 29%)
CIE-LABlab(45.30, 67.01, -39.23)
CIE-LCHlch(45.30, 77.65, 329.65°)
OKLaboklab(55.74% 0.1901 -0.1083)
OKLCHoklch(55.74% 0.219 330.3)
XYZxyz(27.6343, 14.7587, 41.4294)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DAE #2DB534
analogous
#782DB5 #B52DAE #B52D6A
triadic
#B52DAE #AEB52D #2DAEB5
tetradic
#B52DAE #B5782D #2DB534 #2D6AB5
square
#B52DAE #B5782D #2DB534 #2D6AB5
split-complementary
#B52DAE #6AB52D #2DB578
monochromatic
#531550 #84217F #B52DAE #D34DCC #DF7EDA

Accessibility & contrast

On white

5.31
#B52DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B52DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52DAE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DAE#FFFFFF#000000##FFFFFF
##B52DAE1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB1
Deuteranopia (green-blind)
#5772AB
Tritanopia (blue-blind)
#BC406C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52dae;
/* rgb */ color: rgb(181, 45, 174);
/* oklch */ color: oklch(55.7% 0.219 330.3);
Tailwind
colors: {
  custom: {
    50: '#cf75c6',
    500: '#b52dae',
    950: '#000000',
  },
}
SCSS
$custom: #b52dae;
$custom-light: #cf75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52dae",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 303.088,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.21882,
    "h": 330.3
  },
  "luminance": 0.14757
}

Semantic roles & 50–950 ramp

primary
#B52DAE
secondary
#76C77B
accent
#E34D44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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