#B52BA9#B52BA9

#B52BA9 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.217 H 332.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B52BA9
RGBrgb(181, 43, 169)
HSLhsl(305, 62%, 44%)
HSVhsv(305, 76%, 71%)
CMYKcmyk(0%, 76.2%, 6.6%, 29%)
CIE-LABlab(44.83, 66.83, -37.02)
CIE-LCHlch(44.83, 76.40, 331.01°)
OKLaboklab(55.32% 0.1918 -0.1019)
OKLCHoklch(55.32% 0.217 332)
XYZxyz(27.0814, 14.4183, 38.8851)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BA9 #2BB537
analogous
#7C2BB5 #B52BA9 #B52B64
triadic
#B52BA9 #A9B52B #2BA9B5
tetradic
#B52BA9 #B57C2B #2BB537 #2B64B5
square
#B52BA9 #B57C2B #2BB537 #2B64B5
split-complementary
#B52BA9 #64B52B #2BB57C
monochromatic
#52144D #841F7B #B52BA9 #D449C8 #E07BD7

Accessibility & contrast

On white

5.41
#B52BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B52BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BA9
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BA9#FFFFFF#000000##FFFFFF
##B52BA91.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAC
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#BD3C68
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b52ba9;
/* rgb */ color: rgb(181, 43, 169);
/* oklch */ color: oklch(55.3% 0.217 332.0);
Tailwind
colors: {
  custom: {
    50: '#cf74c3',
    500: '#b52ba9',
    950: '#000000',
  },
}
SCSS
$custom: #b52ba9;
$custom-light: #cf74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ba9",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 305.217,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.21714,
    "h": 332
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#B52BA9
secondary
#74C87B
accent
#E55143
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B52BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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