#B52EAA#B52EAA

#B52EAA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.215 H 331.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B52EAA
RGBrgb(181, 46, 170)
HSLhsl(305, 59%, 45%)
HSVhsv(305, 75%, 71%)
CMYKcmyk(0%, 74.6%, 6.1%, 29%)
CIE-LABlab(45.20, 66.08, -37.03)
CIE-LCHlch(45.20, 75.75, 330.73°)
OKLaboklab(55.6% 0.1892 -0.1019)
OKLCHoklch(55.6% 0.215 331.7)
XYZxyz(27.2888, 14.6823, 39.4191)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52EAA #2EB539
analogous
#7D2EB5 #B52EAA #B52E67
triadic
#B52EAA #AAB52E #2EAAB5
tetradic
#B52EAA #B57D2E #2EB539 #2E67B5
square
#B52EAA #B57D2E #2EB539 #2E67B5
split-complementary
#B52EAA #67B52E #2EB57D
monochromatic
#53154E #84227C #B52EAA #D24EC7 #DE7FD7

Accessibility & contrast

On white

5.34
#B52EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52EAA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52EAA#FFFFFF#000000##FFFFFF
##B52EAA1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#BD3E6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52eaa;
/* rgb */ color: rgb(181, 46, 170);
/* oklch */ color: oklch(55.6% 0.215 331.7);
Tailwind
colors: {
  custom: {
    50: '#cf75c4',
    500: '#b52eaa',
    950: '#000000',
  },
}
SCSS
$custom: #b52eaa;
$custom-light: #cf75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52eaa",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 304.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.21488,
    "h": 331.7
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#B52EAA
secondary
#78C77E
accent
#E35245
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B52EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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