#B428A5#B428A5

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

Color values

HEX#B428A5
RGBrgb(180, 40, 165)
HSLhsl(306, 64%, 43%)
HSVhsv(306, 78%, 71%)
CMYKcmyk(0%, 77.8%, 8.3%, 29.4%)
CIE-LABlab(44.15, 66.87, -35.73)
CIE-LCHlch(44.15, 75.81, 331.88°)
OKLaboklab(54.73% 0.1931 -0.0982)
OKLCHoklch(54.73% 0.217 333.1)
XYZxyz(26.3729, 13.9398, 36.8917)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428A5 #28B437
analogous
#7D28B4 #B428A5 #B4285F
triadic
#B428A5 #A5B428 #28A5B4
tetradic
#B428A5 #B47D28 #28B437 #285FB4
square
#B428A5 #B47D28 #28B437 #285FB4
split-complementary
#B428A5 #5FB428 #28B47D
monochromatic
#501249 #821D77 #B428A5 #D544C6 #E176D5

Accessibility & contrast

On white

5.54
#B428A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B428A5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428A5#FFFFFF#000000##FFFFFF
##B428A51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205CA8
Deuteranopia (green-blind)
#596FA2
Tritanopia (blue-blind)
#BC3865
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b428a5;
/* rgb */ color: rgb(180, 40, 165);
/* oklch */ color: oklch(54.7% 0.217 333.1);
Tailwind
colors: {
  custom: {
    50: '#ce72c0',
    500: '#b428a5',
    950: '#000000',
  },
}
SCSS
$custom: #b428a5;
$custom-light: #ce72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b428a5",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 306.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54729,
    "c": 0.21664,
    "h": 333.1
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B428A5

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

Preview Lab → · Contrast checker → · Palette generator →

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