#B52BB0#B52BB0

#B52BB0 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.222 H 329.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B52BB0
RGBrgb(181, 43, 176)
HSLhsl(302, 62%, 44%)
HSVhsv(302, 76%, 71%)
CMYKcmyk(0%, 76.2%, 2.8%, 29%)
CIE-LABlab(45.20, 67.91, -40.57)
CIE-LCHlch(45.20, 79.11, 329.15°)
OKLaboklab(55.71% 0.1918 -0.1122)
OKLCHoklch(55.71% 0.222 329.7)
XYZxyz(27.7562, 14.6883, 42.4391)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BB0 #2BB530
analogous
#752BB5 #B52BB0 #B52B6B
triadic
#B52BB0 #B0B52B #2BB0B5
tetradic
#B52BB0 #B5752B #2BB530 #2B6BB5
square
#B52BB0 #B5752B #2BB530 #2B6BB5
split-complementary
#B52BB0 #6BB52B #2BB575
monochromatic
#521450 #841F80 #B52BB0 #D449CF #E07BDC

Accessibility & contrast

On white

5.33
#B52BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B52BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BB0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BB0#FFFFFF#000000##FFFFFF
##B52BB01.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB4
Deuteranopia (green-blind)
#5571AD
Tritanopia (blue-blind)
#BC3F6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52bb0;
/* rgb */ color: rgb(181, 43, 176);
/* oklch */ color: oklch(55.7% 0.222 329.7);
Tailwind
colors: {
  custom: {
    50: '#cf74c8',
    500: '#b52bb0',
    950: '#000000',
  },
}
SCSS
$custom: #b52bb0;
$custom-light: #cf74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52bb0",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 302.174,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55709,
    "c": 0.22223,
    "h": 329.7
  },
  "luminance": 0.14686
}

Semantic roles & 50–950 ramp

primary
#B52BB0
secondary
#74C877
accent
#E54943
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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