#B52BA5#B52BA5

#B52BA5 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.214 H 333.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B52BA5
RGBrgb(181, 43, 165)
HSLhsl(307, 62%, 44%)
HSVhsv(307, 76%, 71%)
CMYKcmyk(0%, 76.2%, 8.8%, 29%)
CIE-LABlab(44.62, 66.22, -34.97)
CIE-LCHlch(44.62, 74.89, 332.16°)
OKLaboklab(55.1% 0.1916 -0.096)
OKLCHoklch(55.1% 0.214 333.4)
XYZxyz(26.7117, 14.2704, 36.9377)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BA5 #2BB53B
analogous
#802BB5 #B52BA5 #B52B60
triadic
#B52BA5 #A5B52B #2BA5B5
tetradic
#B52BA5 #B5802B #2BB53B #2B60B5
square
#B52BA5 #B5802B #2BB53B #2B60B5
split-complementary
#B52BA5 #60B52B #2BB580
monochromatic
#52144B #841F78 #B52BA5 #D449C4 #E07BD4

Accessibility & contrast

On white

5.45
#B52BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B52BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BA5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BA5#FFFFFF#000000##FFFFFF
##B52BA51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA8
Deuteranopia (green-blind)
#5B70A2
Tritanopia (blue-blind)
#BD3A66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52ba5;
/* rgb */ color: rgb(181, 43, 165);
/* oklch */ color: oklch(55.1% 0.214 333.4);
Tailwind
colors: {
  custom: {
    50: '#cf74c0',
    500: '#b52ba5',
    950: '#000000',
  },
}
SCSS
$custom: #b52ba5;
$custom-light: #cf74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ba5",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 306.957,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.551,
    "c": 0.2143,
    "h": 333.4
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#B52BA5
secondary
#74C87E
accent
#E55643
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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