#B52CA2#B52CA2

#B52CA2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.211 H 334.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B52CA2
RGBrgb(181, 44, 162)
HSLhsl(308, 61%, 44%)
HSVhsv(308, 76%, 71%)
CMYKcmyk(0%, 75.7%, 10.5%, 29%)
CIE-LABlab(44.57, 65.48, -33.26)
CIE-LCHlch(44.57, 73.44, 333.07°)
OKLaboklab(55.02% 0.1906 -0.0911)
OKLCHoklch(55.02% 0.211 334.5)
XYZxyz(26.4786, 14.2361, 35.5287)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CA2 #2CB53F
analogous
#842CB5 #B52CA2 #B52C5E
triadic
#B52CA2 #A2B52C #2CA2B5
tetradic
#B52CA2 #B5842C #2CB53F #2C5EB5
square
#B52CA2 #B5842C #2CB53F #2C5EB5
split-complementary
#B52CA2 #5EB52C #2CB584
monochromatic
#53144A #842076 #B52CA2 #D34BC0 #DF7CD1

Accessibility & contrast

On white

5.46
#B52CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B52CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CA2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CA2#FFFFFF#000000##FFFFFF
##B52CA21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#5D709F
Tritanopia (blue-blind)
#BE3965
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52ca2;
/* rgb */ color: rgb(181, 44, 162);
/* oklch */ color: oklch(55.0% 0.211 334.5);
Tailwind
colors: {
  custom: {
    50: '#cf74be',
    500: '#b52ca2',
    950: '#000000',
  },
}
SCSS
$custom: #b52ca2;
$custom-light: #cf74be;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ca2",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 308.321,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55015,
    "c": 0.21119,
    "h": 334.5
  },
  "luminance": 0.14234
}

Semantic roles & 50–950 ramp

primary
#B52CA2
secondary
#75C881
accent
#E45A44
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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