#B428AF#B428AF

#B428AF is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.3% C 0.224 H 329.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B428AF
RGBrgb(180, 40, 175)
HSLhsl(302, 64%, 43%)
HSVhsv(302, 78%, 71%)
CMYKcmyk(0%, 77.8%, 2.8%, 29.4%)
CIE-LABlab(44.69, 68.40, -40.81)
CIE-LCHlch(44.69, 79.65, 329.18°)
OKLaboklab(55.29% 0.1933 -0.1129)
OKLCHoklch(55.29% 0.224 329.7)
XYZxyz(27.3189, 14.3182, 41.8740)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428AF #28B42D
analogous
#7328B4 #B428AF #B42869
triadic
#B428AF #AFB428 #28AFB4
tetradic
#B428AF #B47328 #28B42D #2869B4
square
#B428AF #B47328 #28B42D #2869B4
split-complementary
#B428AF #69B428 #28B473
monochromatic
#50124E #821D7E #B428AF #D544D0 #E176DD

Accessibility & contrast

On white

5.44
#B428AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B428AF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428AF#FFFFFF#000000##FFFFFF
##B428AF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB3
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#BB3D6B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b428af;
/* rgb */ color: rgb(180, 40, 175);
/* oklch */ color: oklch(55.3% 0.224 329.7);
Tailwind
colors: {
  custom: {
    50: '#ce73c7',
    500: '#b428af',
    950: '#000000',
  },
}
SCSS
$custom: #b428af;
$custom-light: #ce73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b428af",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 302.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55289,
    "c": 0.2238,
    "h": 329.7
  },
  "luminance": 0.14316
}

Semantic roles & 50–950 ramp

primary
#B428AF
secondary
#70C873
accent
#E74741
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B428AF

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

Preview Lab → · Contrast checker → · Palette generator →

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