#B52CAD#B52CAD

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

Color values

HEX#B52CAD
RGBrgb(181, 44, 173)
HSLhsl(304, 61%, 44%)
HSVhsv(304, 76%, 71%)
CMYKcmyk(0%, 75.7%, 4.4%, 29%)
CIE-LABlab(45.14, 67.15, -38.89)
CIE-LCHlch(45.14, 77.60, 329.92°)
OKLaboklab(55.61% 0.191 -0.1073)
OKLCHoklch(55.61% 0.219 330.7)
XYZxyz(27.4995, 14.6445, 40.9054)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CAD #2CB534
analogous
#792CB5 #B52CAD #B52C69
triadic
#B52CAD #ADB52C #2CADB5
tetradic
#B52CAD #B5792C #2CB534 #2C69B5
square
#B52CAD #B5792C #2CB534 #2C69B5
split-complementary
#B52CAD #69B52C #2CB579
monochromatic
#53144F #84207E #B52CAD #D34BCB #DF7CD9

Accessibility & contrast

On white

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

On black

3.93
#B52CAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B52CAD#FFFFFF#000000##FFFFFF
##B52CAD1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB0
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#BC3E6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52cad;
/* rgb */ color: rgb(181, 44, 173);
/* oklch */ color: oklch(55.6% 0.219 330.7);
Tailwind
colors: {
  custom: {
    50: '#cf74c6',
    500: '#b52cad',
    950: '#000000',
  },
}
SCSS
$custom: #b52cad;
$custom-light: #cf74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cad",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 303.504,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55612,
    "c": 0.21907,
    "h": 330.7
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#B52CAD
secondary
#75C87A
accent
#E44D44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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