#B528AC#B528AC

#B528AC is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.3% C 0.222 H 331.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B528AC
RGBrgb(181, 40, 172)
HSLhsl(304, 64%, 43%)
HSVhsv(304, 78%, 71%)
CMYKcmyk(0%, 77.9%, 5%, 29%)
CIE-LABlab(44.69, 68.14, -39.02)
CIE-LCHlch(44.69, 78.52, 330.20°)
OKLaboklab(55.27% 0.1943 -0.1076)
OKLCHoklch(55.27% 0.222 331)
XYZxyz(27.2612, 14.3221, 40.3504)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B528AC #28B531
analogous
#7728B5 #B528AC #B52865
triadic
#B528AC #ACB528 #28ACB5
tetradic
#B528AC #B57728 #28B531 #2865B5
square
#B528AC #B57728 #28B531 #2865B5
split-complementary
#B528AC #65B528 #28B577
monochromatic
#51124D #831D7C #B528AC #D644CC #E177DA

Accessibility & contrast

On white

5.43
#B528AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B528AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B528AC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B528AC#FFFFFF#000000##FFFFFF
##B528AC1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAF
Deuteranopia (green-blind)
#5670A9
Tritanopia (blue-blind)
#BC3B69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b528ac;
/* rgb */ color: rgb(181, 40, 172);
/* oklch */ color: oklch(55.3% 0.222 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf73c5',
    500: '#b528ac',
    950: '#000000',
  },
}
SCSS
$custom: #b528ac;
$custom-light: #cf73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b528ac",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 303.83,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55272,
    "c": 0.2221,
    "h": 331
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#B528AC
secondary
#70C876
accent
#E74C41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B528AC

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

Preview Lab → · Contrast checker → · Palette generator →

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