#B52BA2#B52BA2

#B52BA2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.212 H 334.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B52BA2
RGBrgb(181, 43, 162)
HSLhsl(308, 62%, 44%)
HSVhsv(308, 76%, 71%)
CMYKcmyk(0%, 76.2%, 10.5%, 29%)
CIE-LABlab(44.47, 65.78, -33.42)
CIE-LCHlch(44.47, 73.78, 333.06°)
OKLaboklab(54.94% 0.1914 -0.0915)
OKLCHoklch(54.94% 0.212 334.4)
XYZxyz(26.4418, 14.1625, 35.5164)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BA2 #2BB53E
analogous
#832BB5 #B52BA2 #B52B5D
triadic
#B52BA2 #A2B52B #2BA2B5
tetradic
#B52BA2 #B5832B #2BB53E #2B5DB5
square
#B52BA2 #B5832B #2BB53E #2B5DB5
split-complementary
#B52BA2 #5DB52B #2BB583
monochromatic
#521449 #841F76 #B52BA2 #D449C1 #E07BD2

Accessibility & contrast

On white

5.48
#B52BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B52BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BA2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BA2#FFFFFF#000000##FFFFFF
##B52BA21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#BE3864
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52ba2;
/* rgb */ color: rgb(181, 43, 162);
/* oklch */ color: oklch(54.9% 0.212 334.4);
Tailwind
colors: {
  custom: {
    50: '#cf74be',
    500: '#b52ba2',
    950: '#000000',
  },
}
SCSS
$custom: #b52ba2;
$custom-light: #cf74be;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ba2",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 308.261,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5494,
    "c": 0.21219,
    "h": 334.4
  },
  "luminance": 0.1416
}

Semantic roles & 50–950 ramp

primary
#B52BA2
secondary
#74C880
accent
#E55943
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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