#B428A0#B428A0

#B428A0 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.213 H 334.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B428A0
RGBrgb(180, 40, 160)
HSLhsl(309, 64%, 43%)
HSVhsv(309, 78%, 71%)
CMYKcmyk(0%, 77.8%, 11.1%, 29.4%)
CIE-LABlab(43.89, 66.13, -33.15)
CIE-LCHlch(43.89, 73.97, 333.38°)
OKLaboklab(54.46% 0.1929 -0.0907)
OKLCHoklch(54.46% 0.213 334.8)
XYZxyz(25.9267, 13.7613, 34.5416)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428A0 #28B43C
analogous
#8228B4 #B428A0 #B4285A
triadic
#B428A0 #A0B428 #28A0B4
tetradic
#B428A0 #B48228 #28B43C #285AB4
square
#B428A0 #B48228 #28B43C #285AB4
split-complementary
#B428A0 #5AB428 #28B482
monochromatic
#501247 #821D73 #B428A0 #D544C1 #E176D1

Accessibility & contrast

On white

5.60
#B428A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B428A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B428A0
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428A0#FFFFFF#000000##FFFFFF
##B428A01.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA3
Deuteranopia (green-blind)
#5B6F9D
Tritanopia (blue-blind)
#BD3563
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b428a0;
/* rgb */ color: rgb(180, 40, 160);
/* oklch */ color: oklch(54.5% 0.213 334.8);
Tailwind
colors: {
  custom: {
    50: '#ce72bc',
    500: '#b428a0',
    950: '#000000',
  },
}
SCSS
$custom: #b428a0;
$custom-light: #ce72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b428a0",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 308.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.21317,
    "h": 334.8
  },
  "luminance": 0.13759
}

Semantic roles & 50–950 ramp

primary
#B428A0
secondary
#70C87C
accent
#E75941
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B428A0

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

Preview Lab → · Contrast checker → · Palette generator →

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