#B428A6#B428A6

#B428A6 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.217 H 332.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B428A6
RGBrgb(180, 40, 166)
HSLhsl(306, 64%, 43%)
HSVhsv(306, 78%, 71%)
CMYKcmyk(0%, 77.8%, 7.8%, 29.4%)
CIE-LABlab(44.20, 67.02, -36.24)
CIE-LCHlch(44.20, 76.19, 331.60°)
OKLaboklab(54.78% 0.1932 -0.0996)
OKLCHoklch(54.78% 0.217 332.7)
XYZxyz(26.4643, 13.9763, 37.3729)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428A6 #28B436
analogous
#7C28B4 #B428A6 #B42860
triadic
#B428A6 #A6B428 #28A6B4
tetradic
#B428A6 #B47C28 #28B436 #2860B4
square
#B428A6 #B47C28 #28B436 #2860B4
split-complementary
#B428A6 #60B428 #28B47C
monochromatic
#50124A #821D78 #B428A6 #D544C7 #E176D6

Accessibility & contrast

On white

5.53
#B428A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B428A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B428A6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428A6#FFFFFF#000000##FFFFFF
##B428A61.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5CA9
Deuteranopia (green-blind)
#596FA3
Tritanopia (blue-blind)
#BC3966
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b428a6;
/* rgb */ color: rgb(180, 40, 166);
/* oklch */ color: oklch(54.8% 0.217 332.7);
Tailwind
colors: {
  custom: {
    50: '#ce73c1',
    500: '#b428a6',
    950: '#000000',
  },
}
SCSS
$custom: #b428a6;
$custom-light: #ce73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b428a6",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 306,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54784,
    "c": 0.21735,
    "h": 332.7
  },
  "luminance": 0.13974
}

Semantic roles & 50–950 ramp

primary
#B428A6
secondary
#70C879
accent
#E75241
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B428A6

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

Preview Lab → · Contrast checker → · Palette generator →

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