#B52DB3#B52DB3

#B52DB3 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.223 H 328.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B52DB3
RGBrgb(181, 45, 179)
HSLhsl(301, 60%, 44%)
HSVhsv(301, 75%, 71%)
CMYKcmyk(0%, 75.1%, 1.1%, 29%)
CIE-LABlab(45.58, 67.80, -41.75)
CIE-LCHlch(45.58, 79.62, 328.38°)
OKLaboklab(56.03% 0.1901 -0.1156)
OKLCHoklch(56.03% 0.223 328.7)
XYZxyz(28.1309, 14.9573, 44.0445)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DB3 #2DB52F
analogous
#732DB5 #B52DB3 #B52D6F
triadic
#B52DB3 #B3B52D #2DB3B5
tetradic
#B52DB3 #B5732D #2DB52F #2D6FB5
square
#B52DB3 #B5732D #2DB52F #2D6FB5
split-complementary
#B52DB3 #6FB52D #2DB573
monochromatic
#531552 #842183 #B52DB3 #D34DD1 #DF7EDD

Accessibility & contrast

On white

5.26
#B52DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B52DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52DB3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DB3#FFFFFF#000000##FFFFFF
##B52DB31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1161B7
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#BB426E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b52db3;
/* rgb */ color: rgb(181, 45, 179);
/* oklch */ color: oklch(56.0% 0.223 328.7);
Tailwind
colors: {
  custom: {
    50: '#cf75ca',
    500: '#b52db3',
    950: '#000000',
  },
}
SCSS
$custom: #b52db3;
$custom-light: #cf75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b52db3",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 300.882,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.22253,
    "h": 328.7
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#B52DB3
secondary
#76C778
accent
#E34744
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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