#B52BB4#B52BB4

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

Color values

HEX#B52BB4
RGBrgb(181, 43, 180)
HSLhsl(300, 62%, 44%)
HSVhsv(300, 76%, 71%)
CMYKcmyk(0%, 76.2%, 0.6%, 29%)
CIE-LABlab(45.43, 68.55, -42.57)
CIE-LCHlch(45.43, 80.69, 328.16°)
OKLaboklab(55.94% 0.1918 -0.118)
OKLCHoklch(55.94% 0.225 328.4)
XYZxyz(28.1578, 14.8489, 44.5542)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BB4 #2BB52C
analogous
#712BB5 #B52BB4 #B52B6F
triadic
#B52BB4 #B4B52B #2BB4B5
tetradic
#B52BB4 #B5712B #2BB52C #2B6FB5
square
#B52BB4 #B5712B #2BB52C #2B6FB5
split-complementary
#B52BB4 #6FB52B #2BB571
monochromatic
#521452 #841F83 #B52BB4 #D449D3 #E07BDF

Accessibility & contrast

On white

5.29
#B52BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B52BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BB4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BB4#FFFFFF#000000##FFFFFF
##B52BB41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0860B8
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#BB416F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52bb4;
/* rgb */ color: rgb(181, 43, 180);
/* oklch */ color: oklch(55.9% 0.225 328.4);
Tailwind
colors: {
  custom: {
    50: '#cf74cb',
    500: '#b52bb4',
    950: '#000000',
  },
}
SCSS
$custom: #b52bb4;
$custom-light: #cf74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b52bb4",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 300.435,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55939,
    "c": 0.22519,
    "h": 328.4
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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