#B529AB#B529AB

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

Color values

HEX#B529AB
RGBrgb(181, 41, 171)
HSLhsl(304, 63%, 44%)
HSVhsv(304, 77%, 71%)
CMYKcmyk(0%, 77.3%, 5.5%, 29%)
CIE-LABlab(44.73, 67.71, -38.36)
CIE-LCHlch(44.73, 77.82, 330.47°)
OKLaboklab(55.29% 0.1935 -0.1057)
OKLCHoklch(55.29% 0.22 331.3)
XYZxyz(27.1997, 14.3522, 39.8579)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B529AB #29B533
analogous
#7929B5 #B529AB #B52965
triadic
#B529AB #ABB529 #29ABB5
tetradic
#B529AB #B57929 #29B533 #2965B5
square
#B529AB #B57929 #29B533 #2965B5
split-complementary
#B529AB #65B529 #29B579
monochromatic
#51124D #831E7C #B529AB #D546CB #E078D9

Accessibility & contrast

On white

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

On black

3.87
#B529AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B529AB#FFFFFF#000000##FFFFFF
##B529AB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5EAE
Deuteranopia (green-blind)
#5771A8
Tritanopia (blue-blind)
#BC3C69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b529ab;
/* rgb */ color: rgb(181, 41, 171);
/* oklch */ color: oklch(55.3% 0.220 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf73c4',
    500: '#b529ab',
    950: '#000000',
  },
}
SCSS
$custom: #b529ab;
$custom-light: #cf73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b529ab",
  "rgb": {
    "r": 181,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 304.286,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.22047,
    "h": 331.3
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

primary
#B529AB
secondary
#72C878
accent
#E64D42
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B529AB

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

Preview Lab → · Contrast checker → · Palette generator →

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