#B52CB2#B52CB2

#B52CB2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.223 H 329.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B52CB2
RGBrgb(181, 44, 178)
HSLhsl(301, 61%, 44%)
HSVhsv(301, 76%, 71%)
CMYKcmyk(0%, 75.7%, 1.7%, 29%)
CIE-LABlab(45.42, 67.94, -41.41)
CIE-LCHlch(45.42, 79.56, 328.63°)
OKLaboklab(55.9% 0.191 -0.1146)
OKLCHoklch(55.9% 0.223 329)
XYZxyz(27.9924, 14.8416, 43.5012)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CB2 #2CB52F
analogous
#742CB5 #B52CB2 #B52C6E
triadic
#B52CB2 #B2B52C #2CB2B5
tetradic
#B52CB2 #B5742C #2CB52F #2C6EB5
square
#B52CB2 #B5742C #2CB52F #2C6EB5
split-complementary
#B52CB2 #6EB52C #2CB574
monochromatic
#531451 #842082 #B52CB2 #D34BD0 #DF7CDD

Accessibility & contrast

On white

5.29
#B52CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B52CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CB2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CB2#FFFFFF#000000##FFFFFF
##B52CB21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#BB416E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52cb2;
/* rgb */ color: rgb(181, 44, 178);
/* oklch */ color: oklch(55.9% 0.223 329.0);
Tailwind
colors: {
  custom: {
    50: '#cf75c9',
    500: '#b52cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b52cb2;
$custom-light: #cf75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cb2",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 301.314,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55896,
    "c": 0.22274,
    "h": 329
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#B52CB2
secondary
#75C877
accent
#E44744
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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