#B52AA4#B52AA4

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

Color values

HEX#B52AA4
RGBrgb(181, 42, 164)
HSLhsl(307, 62%, 44%)
HSVhsv(307, 77%, 71%)
CMYKcmyk(0%, 76.8%, 9.4%, 29%)
CIE-LABlab(44.46, 66.37, -34.62)
CIE-LCHlch(44.46, 74.85, 332.45°)
OKLaboklab(54.97% 0.1924 -0.095)
OKLCHoklch(54.97% 0.215 333.7)
XYZxyz(26.5851, 14.1624, 36.4482)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52AA4 #2AB53B
analogous
#802AB5 #B52AA4 #B52A5E
triadic
#B52AA4 #A4B52A #2AA4B5
tetradic
#B52AA4 #B5802A #2AB53B #2A5EB5
square
#B52AA4 #B5802A #2AB53B #2A5EB5
split-complementary
#B52AA4 #5EB52A #2AB580
monochromatic
#52134A #831E77 #B52AA4 #D448C3 #E079D3

Accessibility & contrast

On white

5.48
#B52AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B52AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52AA4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52AA4#FFFFFF#000000##FFFFFF
##B52AA41.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#5B70A1
Tritanopia (blue-blind)
#BE3865
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52aa4;
/* rgb */ color: rgb(181, 42, 164);
/* oklch */ color: oklch(55.0% 0.215 333.7);
Tailwind
colors: {
  custom: {
    50: '#cf73bf',
    500: '#b52aa4',
    950: '#000000',
  },
}
SCSS
$custom: #b52aa4;
$custom-light: #cf73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b52aa4",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 307.338,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54973,
    "c": 0.21456,
    "h": 333.7
  },
  "luminance": 0.1416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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