#B52BA1#B52BA1

#B52BA1 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.211 H 334.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B52BA1
RGBrgb(181, 43, 161)
HSLhsl(309, 62%, 44%)
HSVhsv(309, 76%, 71%)
CMYKcmyk(0%, 76.2%, 11%, 29%)
CIE-LABlab(44.41, 65.63, -32.91)
CIE-LCHlch(44.41, 73.42, 333.37°)
OKLaboklab(54.89% 0.1914 -0.09)
OKLCHoklch(54.89% 0.211 334.8)
XYZxyz(26.3533, 14.1271, 35.0502)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BA1 #2BB53F
analogous
#842BB5 #B52BA1 #B52B5C
triadic
#B52BA1 #A1B52B #2BA1B5
tetradic
#B52BA1 #B5842B #2BB53F #2B5CB5
square
#B52BA1 #B5842B #2BB53F #2B5CB5
split-complementary
#B52BA1 #5CB52B #2BB584
monochromatic
#521449 #841F75 #B52BA1 #D449C0 #E07BD1

Accessibility & contrast

On white

5.49
#B52BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B52BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BA1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BA1#FFFFFF#000000##FFFFFF
##B52BA11.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5CA4
Deuteranopia (green-blind)
#5D709E
Tritanopia (blue-blind)
#BE3764
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52ba1;
/* rgb */ color: rgb(181, 43, 161);
/* oklch */ color: oklch(54.9% 0.211 334.8);
Tailwind
colors: {
  custom: {
    50: '#cf74bd',
    500: '#b52ba1',
    950: '#000000',
  },
}
SCSS
$custom: #b52ba1;
$custom-light: #cf74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ba1",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 308.696,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54888,
    "c": 0.21149,
    "h": 334.8
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#B52BA1
secondary
#74C880
accent
#E55B43
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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