#B52BB3#B52BB3

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

Color values

HEX#B52BB3
RGBrgb(181, 43, 179)
HSLhsl(301, 62%, 44%)
HSVhsv(301, 76%, 71%)
CMYKcmyk(0%, 76.2%, 1.1%, 29%)
CIE-LABlab(45.37, 68.39, -42.07)
CIE-LCHlch(45.37, 80.29, 328.40°)
OKLaboklab(55.88% 0.1918 -0.1165)
OKLCHoklch(55.88% 0.224 328.7)
XYZxyz(28.0563, 14.8083, 44.0197)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BB3 #2BB52D
analogous
#722BB5 #B52BB3 #B52B6E
triadic
#B52BB3 #B3B52B #2BB3B5
tetradic
#B52BB3 #B5722B #2BB52D #2B6EB5
square
#B52BB3 #B5722B #2BB52D #2B6EB5
split-complementary
#B52BB3 #6EB52B #2BB572
monochromatic
#521451 #841F82 #B52BB3 #D449D2 #E07BDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52BB3#FFFFFF#000000##FFFFFF
##B52BB31.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)
#0B60B7
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#BB416E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52bb3;
/* rgb */ color: rgb(181, 43, 179);
/* oklch */ color: oklch(55.9% 0.224 328.7);
Tailwind
colors: {
  custom: {
    50: '#cf74ca',
    500: '#b52bb3',
    950: '#000000',
  },
}
SCSS
$custom: #b52bb3;
$custom-light: #cf74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b52bb3",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 300.87,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.22444,
    "h": 328.7
  },
  "luminance": 0.14806
}

Semantic roles & 50–950 ramp

primary
#B52BB3
secondary
#74C875
accent
#E54543
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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