#B52DB0#B52DB0

#B52DB0 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.220 H 329.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B52DB0
RGBrgb(181, 45, 176)
HSLhsl(302, 60%, 44%)
HSVhsv(302, 75%, 71%)
CMYKcmyk(0%, 75.1%, 2.8%, 29%)
CIE-LABlab(45.41, 67.32, -40.24)
CIE-LCHlch(45.41, 78.43, 329.13°)
OKLaboklab(55.86% 0.1902 -0.1112)
OKLCHoklch(55.86% 0.22 329.7)
XYZxyz(27.8307, 14.8373, 42.4639)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DB0 #2DB532
analogous
#762DB5 #B52DB0 #B52D6C
triadic
#B52DB0 #B0B52D #2DB0B5
tetradic
#B52DB0 #B5762D #2DB532 #2D6CB5
square
#B52DB0 #B5762D #2DB532 #2D6CB5
split-complementary
#B52DB0 #6CB52D #2DB576
monochromatic
#531551 #842180 #B52DB0 #D34DCE #DF7EDB

Accessibility & contrast

On white

5.29
#B52DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52DB0
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DB0#FFFFFF#000000##FFFFFF
##B52DB01.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1860B4
Deuteranopia (green-blind)
#5672AD
Tritanopia (blue-blind)
#BC416D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52db0;
/* rgb */ color: rgb(181, 45, 176);
/* oklch */ color: oklch(55.9% 0.220 329.7);
Tailwind
colors: {
  custom: {
    50: '#cf75c8',
    500: '#b52db0',
    950: '#000000',
  },
}
SCSS
$custom: #b52db0;
$custom-light: #cf75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52db0",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 302.206,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55856,
    "c": 0.22029,
    "h": 329.7
  },
  "luminance": 0.14835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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