#B52DB5#B52DB5

#B52DB5 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.224 H 328.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B52DB5
RGBrgb(181, 45, 181)
HSLhsl(300, 60%, 44%)
HSVhsv(300, 75%, 71%)
CMYKcmyk(0%, 75.1%, 0%, 29%)
CIE-LABlab(45.69, 68.12, -42.75)
CIE-LCHlch(45.69, 80.42, 327.89°)
OKLaboklab(56.14% 0.1901 -0.1185)
OKLCHoklch(56.14% 0.224 328.1)
XYZxyz(28.3346, 15.0388, 45.1175)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DB5 #2DB52D
analogous
#712DB5 #B52DB5 #B52D71
triadic
#B52DB5 #B5B52D #2DB5B5
tetradic
#B52DB5 #B5712D #2DB52D #2D71B5
square
#B52DB5 #B5712D #2DB52D #2D71B5
split-complementary
#B52DB5 #71B52D #2DB571
monochromatic
#531553 #842184 #B52DB5 #D34DD3 #DF7EDF

Accessibility & contrast

On white

5.24
#B52DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B52DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52DB5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DB5#FFFFFF#000000##FFFFFF
##B52DB51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B61B9
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#BB4370
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b52db5;
/* rgb */ color: rgb(181, 45, 181);
/* oklch */ color: oklch(56.1% 0.224 328.1);
Tailwind
colors: {
  custom: {
    50: '#cf75cc',
    500: '#b52db5',
    950: '#000000',
  },
}
SCSS
$custom: #b52db5;
$custom-light: #cf75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b52db5",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 300,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.22402,
    "h": 328.1
  },
  "luminance": 0.15037
}

Semantic roles & 50–950 ramp

primary
#B52DB5
secondary
#76C776
accent
#E34444
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B52DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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