#B52BAD#B52BAD

#B52BAD is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.220 H 330.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B52BAD
RGBrgb(181, 43, 173)
HSLhsl(303, 62%, 44%)
HSVhsv(303, 76%, 71%)
CMYKcmyk(0%, 76.2%, 4.4%, 29%)
CIE-LABlab(45.04, 67.44, -39.06)
CIE-LCHlch(45.04, 77.94, 329.93°)
OKLaboklab(55.54% 0.1918 -0.1078)
OKLCHoklch(55.54% 0.22 330.7)
XYZxyz(27.4627, 14.5708, 40.8931)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BAD #2BB533
analogous
#782BB5 #B52BAD #B52B68
triadic
#B52BAD #ADB52B #2BADB5
tetradic
#B52BAD #B5782B #2BB533 #2B68B5
square
#B52BAD #B5782B #2BB533 #2B68B5
split-complementary
#B52BAD #68B52B #2BB578
monochromatic
#52144E #841F7E #B52BAD #D449CC #E07BDA

Accessibility & contrast

On white

5.37
#B52BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B52BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BAD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BAD#FFFFFF#000000##FFFFFF
##B52BAD1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5FB0
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#BC3E6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52bad;
/* rgb */ color: rgb(181, 43, 173);
/* oklch */ color: oklch(55.5% 0.220 330.7);
Tailwind
colors: {
  custom: {
    50: '#cf74c6',
    500: '#b52bad',
    950: '#000000',
  },
}
SCSS
$custom: #b52bad;
$custom-light: #cf74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52bad",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 303.478,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.22003,
    "h": 330.7
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#B52BAD
secondary
#74C879
accent
#E54C43
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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