#B52CAF#B52CAF

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

Color values

HEX#B52CAF
RGBrgb(181, 44, 175)
HSLhsl(303, 61%, 44%)
HSVhsv(303, 76%, 71%)
CMYKcmyk(0%, 75.7%, 3.3%, 29%)
CIE-LABlab(45.25, 67.46, -39.90)
CIE-LCHlch(45.25, 78.38, 329.40°)
OKLaboklab(55.73% 0.191 -0.1102)
OKLCHoklch(55.73% 0.221 330)
XYZxyz(27.6945, 14.7224, 41.9322)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CAF #2CB532
analogous
#772CB5 #B52CAF #B52C6B
triadic
#B52CAF #AFB52C #2CAFB5
tetradic
#B52CAF #B5772C #2CB532 #2C6BB5
square
#B52CAF #B5772C #2CB532 #2C6BB5
split-complementary
#B52CAF #6BB52C #2CB577
monochromatic
#531450 #84207F #B52CAF #D34BCD #DF7CDB

Accessibility & contrast

On white

5.32
#B52CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52CAF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CAF#FFFFFF#000000##FFFFFF
##B52CAF1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#BC406C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52caf;
/* rgb */ color: rgb(181, 44, 175);
/* oklch */ color: oklch(55.7% 0.221 330.0);
Tailwind
colors: {
  custom: {
    50: '#cf75c7',
    500: '#b52caf',
    950: '#000000',
  },
}
SCSS
$custom: #b52caf;
$custom-light: #cf75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b52caf",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 302.628,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55725,
    "c": 0.22054,
    "h": 330
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#B52CAF
secondary
#75C879
accent
#E44B44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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