#B52AA5#B52AA5

#B52AA5 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.215 H 333.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B52AA5
RGBrgb(181, 42, 165)
HSLhsl(307, 62%, 44%)
HSVhsv(307, 77%, 71%)
CMYKcmyk(0%, 76.8%, 8.8%, 29%)
CIE-LABlab(44.52, 66.52, -35.13)
CIE-LCHlch(44.52, 75.22, 332.16°)
OKLaboklab(55.03% 0.1925 -0.0964)
OKLCHoklch(55.03% 0.215 333.4)
XYZxyz(26.6758, 14.1986, 36.9257)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52AA5 #2AB53A
analogous
#7F2AB5 #B52AA5 #B52A5F
triadic
#B52AA5 #A5B52A #2AA5B5
tetradic
#B52AA5 #B57F2A #2AB53A #2A5FB5
square
#B52AA5 #B57F2A #2AB53A #2A5FB5
split-complementary
#B52AA5 #5FB52A #2AB57F
monochromatic
#52134A #831E78 #B52AA5 #D448C4 #E079D4

Accessibility & contrast

On white

5.47
#B52AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B52AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52AA5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52AA5#FFFFFF#000000##FFFFFF
##B52AA51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245DA8
Deuteranopia (green-blind)
#5B70A2
Tritanopia (blue-blind)
#BD3966
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52aa5;
/* rgb */ color: rgb(181, 42, 165);
/* oklch */ color: oklch(55.0% 0.215 333.4);
Tailwind
colors: {
  custom: {
    50: '#cf73c0',
    500: '#b52aa5',
    950: '#000000',
  },
}
SCSS
$custom: #b52aa5;
$custom-light: #cf73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b52aa5",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 306.906,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.21527,
    "h": 333.4
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#B52AA5
secondary
#73C87D
accent
#E55542
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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