#B52BAE#B52BAE

#B52BAE is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.221 H 330.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B52BAE
RGBrgb(181, 43, 174)
HSLhsl(303, 62%, 44%)
HSVhsv(303, 76%, 71%)
CMYKcmyk(0%, 76.2%, 3.9%, 29%)
CIE-LABlab(45.09, 67.60, -39.56)
CIE-LCHlch(45.09, 78.33, 329.66°)
OKLaboklab(55.6% 0.1918 -0.1092)
OKLCHoklch(55.6% 0.221 330.3)
XYZxyz(27.5598, 14.6097, 41.4046)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BAE #2BB532
analogous
#772BB5 #B52BAE #B52B69
triadic
#B52BAE #AEB52B #2BAEB5
tetradic
#B52BAE #B5772B #2BB532 #2B69B5
square
#B52BAE #B5772B #2BB532 #2B69B5
split-complementary
#B52BAE #69B52B #2BB577
monochromatic
#52144F #841F7E #B52BAE #D449CD #E07BDA

Accessibility & contrast

On white

5.35
#B52BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B52BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BAE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BAE#FFFFFF#000000##FFFFFF
##B52BAE1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB1
Deuteranopia (green-blind)
#5671AB
Tritanopia (blue-blind)
#BC3E6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52bae;
/* rgb */ color: rgb(181, 43, 174);
/* oklch */ color: oklch(55.6% 0.221 330.3);
Tailwind
colors: {
  custom: {
    50: '#cf74c6',
    500: '#b52bae',
    950: '#000000',
  },
}
SCSS
$custom: #b52bae;
$custom-light: #cf74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52bae",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 303.043,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55595,
    "c": 0.22077,
    "h": 330.3
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#B52BAE
secondary
#74C878
accent
#E54B43
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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