#B52CB5#B52CB5

#B52CB5 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.225 H 328.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B52CB5
RGBrgb(181, 44, 181)
HSLhsl(300, 61%, 44%)
HSVhsv(300, 76%, 71%)
CMYKcmyk(0%, 75.7%, 0%, 29%)
CIE-LABlab(45.58, 68.42, -42.91)
CIE-LCHlch(45.58, 80.76, 327.90°)
OKLaboklab(56.07% 0.191 -0.119)
OKLCHoklch(56.07% 0.225 328.1)
XYZxyz(28.2969, 14.9634, 45.1049)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CB5 #2CB52C
analogous
#712CB5 #B52CB5 #B52C71
triadic
#B52CB5 #B5B52C #2CB5B5
tetradic
#B52CB5 #B5712C #2CB52C #2C71B5
square
#B52CB5 #B5712C #2CB52C #2C71B5
split-complementary
#B52CB5 #71B52C #2CB571
monochromatic
#531453 #842084 #B52CB5 #D34BD3 #DF7CDF

Accessibility & contrast

On white

5.26
#B52CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B52CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CB5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CB5#FFFFFF#000000##FFFFFF
##B52CB51.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0761B9
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#BB436F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b52cb5;
/* rgb */ color: rgb(181, 44, 181);
/* oklch */ color: oklch(56.1% 0.225 328.1);
Tailwind
colors: {
  custom: {
    50: '#cf75cc',
    500: '#b52cb5',
    950: '#000000',
  },
}
SCSS
$custom: #b52cb5;
$custom-light: #cf75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cb5",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 300,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56069,
    "c": 0.22498,
    "h": 328.1
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#B52CB5
secondary
#75C875
accent
#E44444
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B52CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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