#B52CB1#B52CB1

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

Color values

HEX#B52CB1
RGBrgb(181, 44, 177)
HSLhsl(302, 61%, 44%)
HSVhsv(302, 76%, 71%)
CMYKcmyk(0%, 75.7%, 2.2%, 29%)
CIE-LABlab(45.36, 67.78, -40.91)
CIE-LCHlch(45.36, 79.17, 328.88°)
OKLaboklab(55.84% 0.191 -0.1132)
OKLCHoklch(55.84% 0.222 329.4)
XYZxyz(27.8923, 14.8016, 42.9744)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52CB1 #2CB530
analogous
#752CB5 #B52CB1 #B52C6D
triadic
#B52CB1 #B1B52C #2CB1B5
tetradic
#B52CB1 #B5752C #2CB530 #2C6DB5
square
#B52CB1 #B5752C #2CB530 #2C6DB5
split-complementary
#B52CB1 #6DB52C #2CB575
monochromatic
#531451 #842081 #B52CB1 #D34BCF #DF7CDC

Accessibility & contrast

On white

5.30
#B52CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B52CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52CB1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52CB1#FFFFFF#000000##FFFFFF
##B52CB11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B5
Deuteranopia (green-blind)
#5572AE
Tritanopia (blue-blind)
#BB416D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52cb1;
/* rgb */ color: rgb(181, 44, 177);
/* oklch */ color: oklch(55.8% 0.222 329.4);
Tailwind
colors: {
  custom: {
    50: '#cf75c9',
    500: '#b52cb1',
    950: '#000000',
  },
}
SCSS
$custom: #b52cb1;
$custom-light: #cf75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b52cb1",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 301.752,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.22201,
    "h": 329.4
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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