#B428AC#B428AC

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

Color values

HEX#B428AC
RGBrgb(180, 40, 172)
HSLhsl(303, 64%, 43%)
HSVhsv(303, 78%, 71%)
CMYKcmyk(0%, 77.8%, 4.4%, 29.4%)
CIE-LABlab(44.52, 67.93, -39.30)
CIE-LCHlch(44.52, 78.48, 329.95°)
OKLaboklab(55.12% 0.1933 -0.1085)
OKLCHoklch(55.12% 0.222 330.7)
XYZxyz(27.0275, 14.2016, 40.3394)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428AC #28B430
analogous
#7628B4 #B428AC #B42866
triadic
#B428AC #ACB428 #28ACB4
tetradic
#B428AC #B47628 #28B430 #2866B4
square
#B428AC #B47628 #28B430 #2866B4
split-complementary
#B428AC #66B428 #28B476
monochromatic
#50124C #821D7C #B428AC #D544CD #E176DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B428AC#FFFFFF#000000##FFFFFF
##B428AC1.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)
#155DAF
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#BB3C69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b428ac;
/* rgb */ color: rgb(180, 40, 172);
/* oklch */ color: oklch(55.1% 0.222 330.7);
Tailwind
colors: {
  custom: {
    50: '#ce73c5',
    500: '#b428ac',
    950: '#000000',
  },
}
SCSS
$custom: #b428ac;
$custom-light: #ce73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b428ac",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 303.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.22163,
    "h": 330.7
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B428AC

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

Preview Lab → · Contrast checker → · Palette generator →

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