#B428AB#B428AB

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

Color values

HEX#B428AB
RGBrgb(180, 40, 171)
HSLhsl(304, 64%, 43%)
HSVhsv(304, 78%, 71%)
CMYKcmyk(0%, 77.8%, 5%, 29.4%)
CIE-LABlab(44.47, 67.78, -38.79)
CIE-LCHlch(44.47, 78.09, 330.22°)
OKLaboklab(55.06% 0.1933 -0.107)
OKLCHoklch(55.06% 0.221 331)
XYZxyz(26.9318, 14.1634, 39.8355)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428AB #28B431
analogous
#7728B4 #B428AB #B42865
triadic
#B428AB #ABB428 #28ABB4
tetradic
#B428AB #B47728 #28B431 #2865B4
square
#B428AB #B47728 #28B431 #2865B4
split-complementary
#B428AB #65B428 #28B477
monochromatic
#50124C #821D7B #B428AB #D544CC #E176DA

Accessibility & contrast

On white

5.48
#B428AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B428AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B428AB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428AB#FFFFFF#000000##FFFFFF
##B428AB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAE
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#BB3B69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b428ab;
/* rgb */ color: rgb(180, 40, 171);
/* oklch */ color: oklch(55.1% 0.221 331.0);
Tailwind
colors: {
  custom: {
    50: '#ce73c4',
    500: '#b428ab',
    950: '#000000',
  },
}
SCSS
$custom: #b428ab;
$custom-light: #ce73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b428ab",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 303.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55061,
    "c": 0.22091,
    "h": 331
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B428AB

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

Preview Lab → · Contrast checker → · Palette generator →

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