#B52DA2#B52DA2

#B52DA2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.210 H 334.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B52DA2
RGBrgb(181, 45, 162)
HSLhsl(308, 60%, 44%)
HSVhsv(308, 75%, 71%)
CMYKcmyk(0%, 75.1%, 10.5%, 29%)
CIE-LABlab(44.68, 65.17, -33.09)
CIE-LCHlch(44.68, 73.09, 333.08°)
OKLaboklab(55.09% 0.1897 -0.0906)
OKLCHoklch(55.09% 0.21 334.5)
XYZxyz(26.5163, 14.3115, 35.5413)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52DA2 #2DB540
analogous
#842DB5 #B52DA2 #B52D5E
triadic
#B52DA2 #A2B52D #2DA2B5
tetradic
#B52DA2 #B5842D #2DB540 #2D5EB5
square
#B52DA2 #B5842D #2DB540 #2D5EB5
split-complementary
#B52DA2 #5EB52D #2DB584
monochromatic
#53154A #842176 #B52DA2 #D34DC0 #DF7ED1

Accessibility & contrast

On white

5.44
#B52DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B52DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52DA2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52DA2#FFFFFF#000000##FFFFFF
##B52DA21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#BE3965
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b52da2;
/* rgb */ color: rgb(181, 45, 162);
/* oklch */ color: oklch(55.1% 0.210 334.5);
Tailwind
colors: {
  custom: {
    50: '#cf74be',
    500: '#b52da2',
    950: '#000000',
  },
}
SCSS
$custom: #b52da2;
$custom-light: #cf74be;
$custom-dark: #000000;
JSON
{
  "hex": "#b52da2",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 308.382,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55092,
    "c": 0.21017,
    "h": 334.5
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#B52DA2
secondary
#76C782
accent
#E35B44
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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