#B52BA3#B52BA3

#B52BA3 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.213 H 334.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B52BA3
RGBrgb(181, 43, 163)
HSLhsl(308, 62%, 44%)
HSVhsv(308, 76%, 71%)
CMYKcmyk(0%, 76.2%, 9.9%, 29%)
CIE-LABlab(44.52, 65.93, -33.94)
CIE-LCHlch(44.52, 74.15, 332.76°)
OKLaboklab(54.99% 0.1915 -0.093)
OKLCHoklch(54.99% 0.213 334.1)
XYZxyz(26.5311, 14.1982, 35.9864)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BA3 #2BB53D
analogous
#822BB5 #B52BA3 #B52B5E
triadic
#B52BA3 #A3B52B #2BA3B5
tetradic
#B52BA3 #B5822B #2BB53D #2B5EB5
square
#B52BA3 #B5822B #2BB53D #2B5EB5
split-complementary
#B52BA3 #5EB52B #2BB582
monochromatic
#52144A #841F76 #B52BA3 #D449C2 #E07BD2

Accessibility & contrast

On white

5.47
#B52BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B52BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BA3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BA3#FFFFFF#000000##FFFFFF
##B52BA31.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA6
Deuteranopia (green-blind)
#5C70A0
Tritanopia (blue-blind)
#BE3965
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52ba3;
/* rgb */ color: rgb(181, 43, 163);
/* oklch */ color: oklch(55.0% 0.213 334.1);
Tailwind
colors: {
  custom: {
    50: '#cf74be',
    500: '#b52ba3',
    950: '#000000',
  },
}
SCSS
$custom: #b52ba3;
$custom-light: #cf74be;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ba3",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 307.826,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54993,
    "c": 0.21289,
    "h": 334.1
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#B52BA3
secondary
#74C87F
accent
#E55843
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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