#B528AB#B528AB

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

Color values

HEX#B528AB
RGBrgb(181, 40, 171)
HSLhsl(304, 64%, 43%)
HSVhsv(304, 78%, 71%)
CMYKcmyk(0%, 77.9%, 5.5%, 29%)
CIE-LABlab(44.64, 67.99, -38.51)
CIE-LCHlch(44.64, 78.13, 330.47°)
OKLaboklab(55.22% 0.1943 -0.1062)
OKLCHoklch(55.22% 0.221 331.3)
XYZxyz(27.1655, 14.2839, 39.8465)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B528AB #28B532
analogous
#7828B5 #B528AB #B52864
triadic
#B528AB #ABB528 #28ABB5
tetradic
#B528AB #B57828 #28B532 #2864B5
square
#B528AB #B57828 #28B532 #2864B5
split-complementary
#B528AB #64B528 #28B578
monochromatic
#51124C #831D7C #B528AB #D644CB #E177D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B528AB#FFFFFF#000000##FFFFFF
##B528AB1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAE
Deuteranopia (green-blind)
#5770A8
Tritanopia (blue-blind)
#BC3B69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b528ab;
/* rgb */ color: rgb(181, 40, 171);
/* oklch */ color: oklch(55.2% 0.221 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf73c4',
    500: '#b528ab',
    950: '#000000',
  },
}
SCSS
$custom: #b528ab;
$custom-light: #cf73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b528ab",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 304.255,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55216,
    "c": 0.22139,
    "h": 331.3
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#B528AB
secondary
#70C877
accent
#E74D41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B528AB

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

Preview Lab → · Contrast checker → · Palette generator →

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