#B52DAD#B52DAD

#B52DAD is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.218 H 330.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B52DAD
RGBrgb(181, 45, 173)
HSLhsl(304, 60%, 44%)
HSVhsv(304, 75%, 71%)
CMYKcmyk(0%, 75.1%, 4.4%, 29%)
CIE-LABlab(45.25, 66.85, -38.73)
CIE-LCHlch(45.25, 77.26, 329.92°)
OKLaboklab(55.69% 0.1901 -0.1068)
OKLCHoklch(55.69% 0.218 330.7)
XYZxyz(27.5372, 14.7199, 40.9179)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DAD #2DB535
analogous
#792DB5 #B52DAD #B52D69
triadic
#B52DAD #ADB52D #2DADB5
tetradic
#B52DAD #B5792D #2DB535 #2D69B5
square
#B52DAD #B5792D #2DB535 #2D69B5
split-complementary
#B52DAD #69B52D #2DB579
monochromatic
#53154F #84217E #B52DAD #D34DCB #DF7ED9

Accessibility & contrast

On white

5.33
#B52DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52DAD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DAD#FFFFFF#000000##FFFFFF
##B52DAD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FB0
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#BC3F6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52dad;
/* rgb */ color: rgb(181, 45, 173);
/* oklch */ color: oklch(55.7% 0.218 330.7);
Tailwind
colors: {
  custom: {
    50: '#cf75c6',
    500: '#b52dad',
    950: '#000000',
  },
}
SCSS
$custom: #b52dad;
$custom-light: #cf75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52dad",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 303.529,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.21807,
    "h": 330.7
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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