#B428A2#B428A2

#B428A2 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.215 H 334.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B428A2
RGBrgb(180, 40, 162)
HSLhsl(308, 64%, 43%)
HSVhsv(308, 78%, 71%)
CMYKcmyk(0%, 77.8%, 10%, 29.4%)
CIE-LABlab(43.99, 66.42, -34.18)
CIE-LCHlch(43.99, 74.70, 332.77°)
OKLaboklab(54.57% 0.193 -0.0937)
OKLCHoklch(54.57% 0.215 334.1)
XYZxyz(26.1030, 13.8318, 35.4705)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428A2 #28B43A
analogous
#8028B4 #B428A2 #B4285C
triadic
#B428A2 #A2B428 #28A2B4
tetradic
#B428A2 #B48028 #28B43A #285CB4
square
#B428A2 #B48028 #28B43A #285CB4
split-complementary
#B428A2 #5CB428 #28B480
monochromatic
#501248 #821D75 #B428A2 #D544C3 #E176D3

Accessibility & contrast

On white

5.58
#B428A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B428A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B428A2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428A2#FFFFFF#000000##FFFFFF
##B428A21.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#5B6F9F
Tritanopia (blue-blind)
#BD3664
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b428a2;
/* rgb */ color: rgb(180, 40, 162);
/* oklch */ color: oklch(54.6% 0.215 334.1);
Tailwind
colors: {
  custom: {
    50: '#ce72be',
    500: '#b428a2',
    950: '#000000',
  },
}
SCSS
$custom: #b428a2;
$custom-light: #ce72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b428a2",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 307.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.21456,
    "h": 334.1
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#B428A2
secondary
#70C87B
accent
#E75641
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B428A2

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

Preview Lab → · Contrast checker → · Palette generator →

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