#B428AE#B428AE

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

Color values

HEX#B428AE
RGBrgb(180, 40, 174)
HSLhsl(303, 64%, 43%)
HSVhsv(303, 78%, 71%)
CMYKcmyk(0%, 77.8%, 3.3%, 29.4%)
CIE-LABlab(44.63, 68.24, -40.31)
CIE-LCHlch(44.63, 79.26, 329.43°)
OKLaboklab(55.23% 0.1933 -0.1114)
OKLCHoklch(55.23% 0.223 330)
XYZxyz(27.2210, 14.2790, 41.3586)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428AE #28B42E
analogous
#7428B4 #B428AE #B42868
triadic
#B428AE #AEB428 #28AEB4
tetradic
#B428AE #B47428 #28B42E #2868B4
square
#B428AE #B47428 #28B42E #2868B4
split-complementary
#B428AE #68B428 #28B474
monochromatic
#50124D #821D7E #B428AE #D544CF #E176DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B428AE#FFFFFF#000000##FFFFFF
##B428AE1.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)
#105EB2
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#BB3D6A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b428ae;
/* rgb */ color: rgb(180, 40, 174);
/* oklch */ color: oklch(55.2% 0.223 330.0);
Tailwind
colors: {
  custom: {
    50: '#ce73c7',
    500: '#b428ae',
    950: '#000000',
  },
}
SCSS
$custom: #b428ae;
$custom-light: #ce73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b428ae",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 302.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55232,
    "c": 0.22308,
    "h": 330
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B428AE

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

Preview Lab → · Contrast checker → · Palette generator →

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