#B52EAC#B52EAC

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

Color values

HEX#B52EAC
RGBrgb(181, 46, 172)
HSLhsl(304, 59%, 45%)
HSVhsv(304, 75%, 71%)
CMYKcmyk(0%, 74.6%, 5%, 29%)
CIE-LABlab(45.30, 66.39, -38.05)
CIE-LCHlch(45.30, 76.52, 330.18°)
OKLaboklab(55.71% 0.1892 -0.1049)
OKLCHoklch(55.71% 0.216 331)
XYZxyz(27.4794, 14.7585, 40.4231)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52EAC #2EB537
analogous
#7B2EB5 #B52EAC #B52E69
triadic
#B52EAC #ACB52E #2EACB5
tetradic
#B52EAC #B57B2E #2EB537 #2E69B5
square
#B52EAC #B57B2E #2EB537 #2E69B5
split-complementary
#B52EAC #69B52E #2EB57B
monochromatic
#53154F #84227E #B52EAC #D24EC9 #DE7FD8

Accessibility & contrast

On white

5.31
#B52EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B52EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52EAC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52EAC#FFFFFF#000000##FFFFFF
##B52EAC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAF
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#BC3F6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52eac;
/* rgb */ color: rgb(181, 46, 172);
/* oklch */ color: oklch(55.7% 0.216 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf75c5',
    500: '#b52eac',
    950: '#000000',
  },
}
SCSS
$custom: #b52eac;
$custom-light: #cf75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52eac",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 304,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55708,
    "c": 0.21634,
    "h": 331
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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