#B52AAF#B52AAF

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

Color values

HEX#B52AAF
RGBrgb(181, 42, 175)
HSLhsl(303, 62%, 44%)
HSVhsv(303, 77%, 71%)
CMYKcmyk(0%, 76.8%, 3.3%, 29%)
CIE-LABlab(45.05, 68.04, -40.22)
CIE-LCHlch(45.05, 79.04, 329.41°)
OKLaboklab(55.58% 0.1927 -0.1112)
OKLCHoklch(55.58% 0.222 330)
XYZxyz(27.6218, 14.5770, 41.9080)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52AAF #2AB530
analogous
#752AB5 #B52AAF #B52A69
triadic
#B52AAF #AFB52A #2AAFB5
tetradic
#B52AAF #B5752A #2AB530 #2A69B5
square
#B52AAF #B5752A #2AB530 #2A69B5
split-complementary
#B52AAF #69B52A #2AB575
monochromatic
#52134F #831E7F #B52AAF #D448CE #E079DC

Accessibility & contrast

On white

5.36
#B52AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B52AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52AAF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52AAF#FFFFFF#000000##FFFFFF
##B52AAF1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB3
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#BC3E6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52aaf;
/* rgb */ color: rgb(181, 42, 175);
/* oklch */ color: oklch(55.6% 0.222 330.0);
Tailwind
colors: {
  custom: {
    50: '#cf74c7',
    500: '#b52aaf',
    950: '#000000',
  },
}
SCSS
$custom: #b52aaf;
$custom-light: #cf74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b52aaf",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 302.59,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5558,
    "c": 0.22244,
    "h": 330
  },
  "luminance": 0.14575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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