#B52EAB#B52EAB

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

Color values

HEX#B52EAB
RGBrgb(181, 46, 171)
HSLhsl(304, 59%, 45%)
HSVhsv(304, 75%, 71%)
CMYKcmyk(0%, 74.6%, 5.5%, 29%)
CIE-LABlab(45.25, 66.23, -37.54)
CIE-LCHlch(45.25, 76.13, 330.45°)
OKLaboklab(55.65% 0.1892 -0.1034)
OKLCHoklch(55.65% 0.216 331.3)
XYZxyz(27.3837, 14.7202, 39.9192)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52EAB #2EB538
analogous
#7B2EB5 #B52EAB #B52E68
triadic
#B52EAB #ABB52E #2EABB5
tetradic
#B52EAB #B57B2E #2EB538 #2E68B5
square
#B52EAB #B57B2E #2EB538 #2E68B5
split-complementary
#B52EAB #68B52E #2EB57B
monochromatic
#53154F #84227D #B52EAB #D24EC8 #DE7FD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52EAB#FFFFFF#000000##FFFFFF
##B52EAB1.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)
#225FAE
Deuteranopia (green-blind)
#5972A8
Tritanopia (blue-blind)
#BC3F6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52eab;
/* rgb */ color: rgb(181, 46, 171);
/* oklch */ color: oklch(55.7% 0.216 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf75c4',
    500: '#b52eab',
    950: '#000000',
  },
}
SCSS
$custom: #b52eab;
$custom-light: #cf75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52eab",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 304.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.2156,
    "h": 331.3
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

primary
#B52EAB
secondary
#78C77D
accent
#E35145
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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