#B428A7#B428A7

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

Color values

HEX#B428A7
RGBrgb(180, 40, 167)
HSLhsl(306, 64%, 43%)
HSVhsv(306, 78%, 71%)
CMYKcmyk(0%, 77.8%, 7.2%, 29.4%)
CIE-LABlab(44.25, 67.17, -36.75)
CIE-LCHlch(44.25, 76.57, 331.31°)
OKLaboklab(54.84% 0.1932 -0.1011)
OKLCHoklch(54.84% 0.218 332.4)
XYZxyz(26.5563, 14.0132, 37.8579)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428A7 #28B435
analogous
#7B28B4 #B428A7 #B42861
triadic
#B428A7 #A7B428 #28A7B4
tetradic
#B428A7 #B47B28 #28B435 #2861B4
square
#B428A7 #B47B28 #28B435 #2861B4
split-complementary
#B428A7 #61B428 #28B47B
monochromatic
#50124A #821D79 #B428A7 #D544C8 #E176D7

Accessibility & contrast

On white

5.52
#B428A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B428A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B428A7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428A7#FFFFFF#000000##FFFFFF
##B428A71.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5CAA
Deuteranopia (green-blind)
#586FA4
Tritanopia (blue-blind)
#BC3967
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b428a7;
/* rgb */ color: rgb(180, 40, 167);
/* oklch */ color: oklch(54.8% 0.218 332.4);
Tailwind
colors: {
  custom: {
    50: '#ce73c1',
    500: '#b428a7',
    950: '#000000',
  },
}
SCSS
$custom: #b428a7;
$custom-light: #ce73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b428a7",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 305.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.21805,
    "h": 332.4
  },
  "luminance": 0.14011
}

Semantic roles & 50–950 ramp

primary
#B428A7
secondary
#70C878
accent
#E75141
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B428A7

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

Preview Lab → · Contrast checker → · Palette generator →

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