#B428A9#B428A9

#B428A9 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.219 H 331.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B428A9
RGBrgb(180, 40, 169)
HSLhsl(305, 64%, 43%)
HSVhsv(305, 78%, 71%)
CMYKcmyk(0%, 77.8%, 6.1%, 29.4%)
CIE-LABlab(44.36, 67.47, -37.77)
CIE-LCHlch(44.36, 77.33, 330.76°)
OKLaboklab(54.95% 0.1932 -0.1041)
OKLCHoklch(54.95% 0.219 331.7)
XYZxyz(26.7427, 14.0877, 38.8391)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428A9 #28B433
analogous
#7928B4 #B428A9 #B42863
triadic
#B428A9 #A9B428 #28A9B4
tetradic
#B428A9 #B47928 #28B433 #2863B4
square
#B428A9 #B47928 #28B433 #2863B4
split-complementary
#B428A9 #63B428 #28B479
monochromatic
#50124B #821D7A #B428A9 #D544CA #E176D8

Accessibility & contrast

On white

5.50
#B428A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B428A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B428A9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428A9#FFFFFF#000000##FFFFFF
##B428A91.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5DAC
Deuteranopia (green-blind)
#5770A6
Tritanopia (blue-blind)
#BC3A68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b428a9;
/* rgb */ color: rgb(180, 40, 169);
/* oklch */ color: oklch(54.9% 0.219 331.7);
Tailwind
colors: {
  custom: {
    50: '#ce73c3',
    500: '#b428a9',
    950: '#000000',
  },
}
SCSS
$custom: #b428a9;
$custom-light: #ce73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b428a9",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 304.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5495,
    "c": 0.21947,
    "h": 331.7
  },
  "luminance": 0.14085
}

Semantic roles & 50–950 ramp

primary
#B428A9
secondary
#70C877
accent
#E74E41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B428A9

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

Preview Lab → · Contrast checker → · Palette generator →

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