#B52AB0#B52AB0

#B52AB0 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.223 H 329.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B52AB0
RGBrgb(181, 42, 176)
HSLhsl(302, 62%, 44%)
HSVhsv(302, 77%, 71%)
CMYKcmyk(0%, 76.8%, 2.8%, 29%)
CIE-LABlab(45.10, 68.20, -40.73)
CIE-LCHlch(45.10, 79.44, 329.16°)
OKLaboklab(55.64% 0.1927 -0.1126)
OKLCHoklch(55.64% 0.223 329.7)
XYZxyz(27.7203, 14.6164, 42.4271)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52AB0 #2AB52F
analogous
#742AB5 #B52AB0 #B52A6A
triadic
#B52AB0 #B0B52A #2AB0B5
tetradic
#B52AB0 #B5742A #2AB52F #2A6AB5
square
#B52AB0 #B5742A #2AB52F #2A6AB5
split-complementary
#B52AB0 #6AB52A #2AB574
monochromatic
#52134F #831E80 #B52AB0 #D448CF #E079DC

Accessibility & contrast

On white

5.35
#B52AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B52AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52AB0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52AB0#FFFFFF#000000##FFFFFF
##B52AB01.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115FB4
Deuteranopia (green-blind)
#5571AD
Tritanopia (blue-blind)
#BC3F6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52ab0;
/* rgb */ color: rgb(181, 42, 176);
/* oklch */ color: oklch(55.6% 0.223 329.7);
Tailwind
colors: {
  custom: {
    50: '#cf74c8',
    500: '#b52ab0',
    950: '#000000',
  },
}
SCSS
$custom: #b52ab0;
$custom-light: #cf74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52ab0",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 302.158,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.22317,
    "h": 329.7
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#B52AB0
secondary
#73C876
accent
#E54842
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B52AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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