#B528AF#B528AF

#B528AF is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.224 H 330.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B528AF
RGBrgb(181, 40, 175)
HSLhsl(303, 64%, 43%)
HSVhsv(303, 78%, 71%)
CMYKcmyk(0%, 77.9%, 3.3%, 29%)
CIE-LABlab(44.86, 68.60, -40.53)
CIE-LCHlch(44.86, 79.68, 329.42°)
OKLaboklab(55.44% 0.1943 -0.112)
OKLCHoklch(55.44% 0.224 330)
XYZxyz(27.5526, 14.4387, 41.8849)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B528AF #28B52E
analogous
#7428B5 #B528AF #B52868
triadic
#B528AF #AFB528 #28AFB5
tetradic
#B528AF #B57428 #28B52E #2868B5
square
#B528AF #B57428 #28B52E #2868B5
split-complementary
#B528AF #68B528 #28B574
monochromatic
#51124E #831D7F #B528AF #D644D0 #E177DC

Accessibility & contrast

On white

5.40
#B528AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B528AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B528AF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B528AF#FFFFFF#000000##FFFFFF
##B528AF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5EB3
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#BC3D6B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b528af;
/* rgb */ color: rgb(181, 40, 175);
/* oklch */ color: oklch(55.4% 0.224 330.0);
Tailwind
colors: {
  custom: {
    50: '#cf73c7',
    500: '#b528af',
    950: '#000000',
  },
}
SCSS
$custom: #b528af;
$custom-light: #cf73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b528af",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 302.553,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55442,
    "c": 0.22426,
    "h": 330
  },
  "luminance": 0.14436
}

Semantic roles & 50–950 ramp

primary
#B528AF
secondary
#70C874
accent
#E74841
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B528AF

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

Preview Lab → · Contrast checker → · Palette generator →

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