#B428B0#B428B0

#B428B0 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.225 H 329.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B428B0
RGBrgb(180, 40, 176)
HSLhsl(302, 64%, 43%)
HSVhsv(302, 78%, 71%)
CMYKcmyk(0%, 77.8%, 2.2%, 29.4%)
CIE-LABlab(44.74, 68.55, -41.31)
CIE-LCHlch(44.74, 80.04, 328.92°)
OKLaboklab(55.35% 0.1932 -0.1143)
OKLCHoklch(55.35% 0.225 329.4)
XYZxyz(27.4175, 14.3576, 42.3931)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428B0 #28B42C
analogous
#7228B4 #B428B0 #B4286A
triadic
#B428B0 #B0B428 #28B0B4
tetradic
#B428B0 #B47228 #28B42C #286AB4
square
#B428B0 #B47228 #28B42C #286AB4
split-complementary
#B428B0 #6AB428 #28B472
monochromatic
#50124E #821D7F #B428B0 #D544D1 #E176DD

Accessibility & contrast

On white

5.42
#B428B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B428B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B428B0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428B0#FFFFFF#000000##FFFFFF
##B428B01.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5EB4
Deuteranopia (green-blind)
#5370AD
Tritanopia (blue-blind)
#BA3E6C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b428b0;
/* rgb */ color: rgb(180, 40, 176);
/* oklch */ color: oklch(55.3% 0.225 329.4);
Tailwind
colors: {
  custom: {
    50: '#cf73c8',
    500: '#b428b0',
    950: '#000000',
  },
}
SCSS
$custom: #b428b0;
$custom-light: #cf73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b428b0",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 301.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55346,
    "c": 0.22452,
    "h": 329.4
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#B428B0
secondary
#70C872
accent
#E74641
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B428B0

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

Preview Lab → · Contrast checker → · Palette generator →

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