#B52AAB#B52AAB

#B52AAB is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.220 H 331.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B52AAB
RGBrgb(181, 42, 171)
HSLhsl(304, 62%, 44%)
HSVhsv(304, 77%, 71%)
CMYKcmyk(0%, 76.8%, 5.5%, 29%)
CIE-LABlab(44.83, 67.42, -38.20)
CIE-LCHlch(44.83, 77.49, 330.47°)
OKLaboklab(55.36% 0.1926 -0.1053)
OKLCHoklch(55.36% 0.22 331.3)
XYZxyz(27.2347, 14.4222, 39.8695)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52AAB #2AB534
analogous
#792AB5 #B52AAB #B52A65
triadic
#B52AAB #ABB52A #2AABB5
tetradic
#B52AAB #B5792A #2AB534 #2A65B5
square
#B52AAB #B5792A #2AB534 #2A65B5
split-complementary
#B52AAB #65B52A #2AB579
monochromatic
#52134D #831E7C #B52AAB #D448CA #E079D9

Accessibility & contrast

On white

5.41
#B52AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B52AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52AAB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52AAB#FFFFFF#000000##FFFFFF
##B52AAB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAE
Deuteranopia (green-blind)
#5871A8
Tritanopia (blue-blind)
#BC3C69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b52aab;
/* rgb */ color: rgb(181, 42, 171);
/* oklch */ color: oklch(55.4% 0.220 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf74c4',
    500: '#b52aab',
    950: '#000000',
  },
}
SCSS
$custom: #b52aab;
$custom-light: #cf74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52aab",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 304.317,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.21954,
    "h": 331.3
  },
  "luminance": 0.1442
}

Semantic roles & 50–950 ramp

primary
#B52AAB
secondary
#73C879
accent
#E54E42
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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