#B52AB2#B52AB2

#B52AB2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.225 H 329.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B52AB2
RGBrgb(181, 42, 178)
HSLhsl(301, 62%, 44%)
HSVhsv(301, 77%, 71%)
CMYKcmyk(0%, 76.8%, 1.7%, 29%)
CIE-LABlab(45.22, 68.52, -41.73)
CIE-LCHlch(45.22, 80.22, 328.65°)
OKLaboklab(55.75% 0.1926 -0.1155)
OKLCHoklch(55.75% 0.225 329)
XYZxyz(27.9197, 14.6962, 43.4770)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52AB2 #2AB52D
analogous
#722AB5 #B52AB2 #B52A6C
triadic
#B52AB2 #B2B52A #2AB2B5
tetradic
#B52AB2 #B5722A #2AB52D #2A6CB5
square
#B52AB2 #B5722A #2AB52D #2A6CB5
split-complementary
#B52AB2 #6CB52A #2AB572
monochromatic
#521350 #831E81 #B52AB2 #D448D1 #E079DE

Accessibility & contrast

On white

5.33
#B52AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B52AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52AB2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52AB2#FFFFFF#000000##FFFFFF
##B52AB21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5FB6
Deuteranopia (green-blind)
#5471AF
Tritanopia (blue-blind)
#BB406D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52ab2;
/* rgb */ color: rgb(181, 42, 178);
/* oklch */ color: oklch(55.8% 0.225 329.0);
Tailwind
colors: {
  custom: {
    50: '#cf74c9',
    500: '#b52ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b52ab2;
$custom-light: #cf74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ab2",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 301.295,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55752,
    "c": 0.22463,
    "h": 329
  },
  "luminance": 0.14694
}

Semantic roles & 50–950 ramp

primary
#B52AB2
secondary
#73C875
accent
#E54642
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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