#B52DB1#B52DB1

#B52DB1 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.221 H 329.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B52DB1
RGBrgb(181, 45, 177)
HSLhsl(302, 60%, 44%)
HSVhsv(302, 75%, 71%)
CMYKcmyk(0%, 75.1%, 2.2%, 29%)
CIE-LABlab(45.47, 67.48, -40.75)
CIE-LCHlch(45.47, 78.83, 328.88°)
OKLaboklab(55.91% 0.1902 -0.1127)
OKLCHoklch(55.91% 0.221 329.3)
XYZxyz(27.9300, 14.8770, 42.9870)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DB1 #2DB531
analogous
#752DB5 #B52DB1 #B52D6D
triadic
#B52DB1 #B1B52D #2DB1B5
tetradic
#B52DB1 #B5752D #2DB531 #2D6DB5
square
#B52DB1 #B5752D #2DB531 #2D6DB5
split-complementary
#B52DB1 #6DB52D #2DB575
monochromatic
#531551 #842181 #B52DB1 #D34DCF #DF7EDC

Accessibility & contrast

On white

5.28
#B52DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B52DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52DB1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DB1#FFFFFF#000000##FFFFFF
##B52DB11.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1660B5
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#BB416D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b52db1;
/* rgb */ color: rgb(181, 45, 177);
/* oklch */ color: oklch(55.9% 0.221 329.3);
Tailwind
colors: {
  custom: {
    50: '#cf75c9',
    500: '#b52db1',
    950: '#000000',
  },
}
SCSS
$custom: #b52db1;
$custom-light: #cf75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b52db1",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 301.765,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.22103,
    "h": 329.3
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

primary
#B52DB1
secondary
#76C779
accent
#E34944
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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