#B52CB0#B52CB0

#B52CB0 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.221 H 329.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B52CB0
RGBrgb(181, 44, 176)
HSLhsl(302, 61%, 44%)
HSVhsv(302, 76%, 71%)
CMYKcmyk(0%, 75.7%, 2.8%, 29%)
CIE-LABlab(45.31, 67.62, -40.41)
CIE-LCHlch(45.31, 78.77, 329.14°)
OKLaboklab(55.78% 0.191 -0.1117)
OKLCHoklch(55.78% 0.221 329.7)
XYZxyz(27.7930, 14.7619, 42.4514)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CB0 #2CB531
analogous
#762CB5 #B52CB0 #B52C6C
triadic
#B52CB0 #B0B52C #2CB0B5
tetradic
#B52CB0 #B5762C #2CB531 #2C6CB5
square
#B52CB0 #B5762C #2CB531 #2C6CB5
split-complementary
#B52CB0 #6CB52C #2CB576
monochromatic
#531450 #842080 #B52CB0 #D34BCE #DF7CDC

Accessibility & contrast

On white

5.31
#B52CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B52CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CB0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CB0#FFFFFF#000000##FFFFFF
##B52CB01.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1660B4
Deuteranopia (green-blind)
#5672AD
Tritanopia (blue-blind)
#BC406D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52cb0;
/* rgb */ color: rgb(181, 44, 176);
/* oklch */ color: oklch(55.8% 0.221 329.7);
Tailwind
colors: {
  custom: {
    50: '#cf75c8',
    500: '#b52cb0',
    950: '#000000',
  },
}
SCSS
$custom: #b52cb0;
$custom-light: #cf75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cb0",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 302.19,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.22127,
    "h": 329.7
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#B52CB0
secondary
#75C878
accent
#E44A44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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