#B528A9#B528A9

#B528A9 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.220 H 332.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B528A9
RGBrgb(181, 40, 169)
HSLhsl(305, 64%, 43%)
HSVhsv(305, 78%, 71%)
CMYKcmyk(0%, 77.9%, 6.6%, 29%)
CIE-LABlab(44.53, 67.68, -37.49)
CIE-LCHlch(44.53, 77.37, 331.02°)
OKLaboklab(55.11% 0.1942 -0.1032)
OKLCHoklch(55.11% 0.22 332)
XYZxyz(26.9764, 14.2082, 38.8501)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B528A9 #28B534
analogous
#7A28B5 #B528A9 #B52863
triadic
#B528A9 #A9B528 #28A9B5
tetradic
#B528A9 #B57A28 #28B534 #2863B5
square
#B528A9 #B57A28 #28B534 #2863B5
split-complementary
#B528A9 #63B528 #28B57A
monochromatic
#51124B #831D7A #B528A9 #D644C9 #E177D8

Accessibility & contrast

On white

5.47
#B528A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B528A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B528A9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B528A9#FFFFFF#000000##FFFFFF
##B528A91.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAC
Deuteranopia (green-blind)
#5870A6
Tritanopia (blue-blind)
#BD3A68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b528a9;
/* rgb */ color: rgb(181, 40, 169);
/* oklch */ color: oklch(55.1% 0.220 332.0);
Tailwind
colors: {
  custom: {
    50: '#cf73c3',
    500: '#b528a9',
    950: '#000000',
  },
}
SCSS
$custom: #b528a9;
$custom-light: #cf73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b528a9",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 305.106,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55105,
    "c": 0.21997,
    "h": 332
  },
  "luminance": 0.14206
}

Semantic roles & 50–950 ramp

primary
#B528A9
secondary
#70C878
accent
#E74F41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B528A9

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

Preview Lab → · Contrast checker → · Palette generator →

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