#B428A8#B428A8

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

Color values

HEX#B428A8
RGBrgb(180, 40, 168)
HSLhsl(305, 64%, 43%)
HSVhsv(305, 78%, 71%)
CMYKcmyk(0%, 77.8%, 6.7%, 29.4%)
CIE-LABlab(44.30, 67.32, -37.26)
CIE-LCHlch(44.30, 76.94, 331.03°)
OKLaboklab(54.89% 0.1932 -0.1026)
OKLCHoklch(54.89% 0.219 332)
XYZxyz(26.6491, 14.0503, 38.3466)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428A8 #28B434
analogous
#7A28B4 #B428A8 #B42862
triadic
#B428A8 #A8B428 #28A8B4
tetradic
#B428A8 #B47A28 #28B434 #2862B4
square
#B428A8 #B47A28 #28B434 #2862B4
split-complementary
#B428A8 #62B428 #28B47A
monochromatic
#50124B #821D79 #B428A8 #D544C9 #E176D7

Accessibility & contrast

On white

5.51
#B428A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B428A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B428A8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428A8#FFFFFF#000000##FFFFFF
##B428A81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5CAB
Deuteranopia (green-blind)
#5870A5
Tritanopia (blue-blind)
#BC3A67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b428a8;
/* rgb */ color: rgb(180, 40, 168);
/* oklch */ color: oklch(54.9% 0.219 332.0);
Tailwind
colors: {
  custom: {
    50: '#ce73c2',
    500: '#b428a8',
    950: '#000000',
  },
}
SCSS
$custom: #b428a8;
$custom-light: #ce73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b428a8",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 305.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54894,
    "c": 0.21876,
    "h": 332
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B428A8

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

Preview Lab → · Contrast checker → · Palette generator →

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