#B428A4#B428A4

#B428A4 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.216 H 333.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B428A4
RGBrgb(180, 40, 164)
HSLhsl(307, 64%, 43%)
HSVhsv(307, 78%, 71%)
CMYKcmyk(0%, 77.8%, 8.9%, 29.4%)
CIE-LABlab(44.09, 66.72, -35.21)
CIE-LCHlch(44.09, 75.44, 332.17°)
OKLaboklab(54.68% 0.1931 -0.0967)
OKLCHoklch(54.68% 0.216 333.4)
XYZxyz(26.2822, 13.9035, 36.4142)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428A4 #28B438
analogous
#7E28B4 #B428A4 #B4285E
triadic
#B428A4 #A4B428 #28A4B4
tetradic
#B428A4 #B47E28 #28B438 #285EB4
square
#B428A4 #B47E28 #28B438 #285EB4
split-complementary
#B428A4 #5EB428 #28B47E
monochromatic
#501249 #821D76 #B428A4 #D544C5 #E176D4

Accessibility & contrast

On white

5.56
#B428A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B428A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B428A4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428A4#FFFFFF#000000##FFFFFF
##B428A41.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA7
Deuteranopia (green-blind)
#5A6FA1
Tritanopia (blue-blind)
#BC3765
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b428a4;
/* rgb */ color: rgb(180, 40, 164);
/* oklch */ color: oklch(54.7% 0.216 333.4);
Tailwind
colors: {
  custom: {
    50: '#ce72bf',
    500: '#b428a4',
    950: '#000000',
  },
}
SCSS
$custom: #b428a4;
$custom-light: #ce72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b428a4",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 306.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.21594,
    "h": 333.4
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#B428A4
secondary
#70C87A
accent
#E75441
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B428A4

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

Preview Lab → · Contrast checker → · Palette generator →

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