#B428B2#B428B2

#B428B2 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.5% C 0.226 H 328.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B428B2
RGBrgb(180, 40, 178)
HSLhsl(301, 64%, 43%)
HSVhsv(301, 78%, 71%)
CMYKcmyk(0%, 77.8%, 1.1%, 29.4%)
CIE-LABlab(44.85, 68.87, -42.32)
CIE-LCHlch(44.85, 80.83, 328.43°)
OKLaboklab(55.46% 0.1932 -0.1172)
OKLCHoklch(55.46% 0.226 328.7)
XYZxyz(27.6168, 14.4373, 43.4430)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428B2 #28B42A
analogous
#7028B4 #B428B2 #B4286C
triadic
#B428B2 #B2B428 #28B2B4
tetradic
#B428B2 #B47028 #28B42A #286CB4
square
#B428B2 #B47028 #28B42A #286CB4
split-complementary
#B428B2 #6CB428 #28B470
monochromatic
#50124F #821D80 #B428B2 #D544D3 #E176DF

Accessibility & contrast

On white

5.40
#B428B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B428B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B428B2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428B2#FFFFFF#000000##FFFFFF
##B428B21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025EB6
Deuteranopia (green-blind)
#5270AF
Tritanopia (blue-blind)
#BA3F6D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b428b2;
/* rgb */ color: rgb(180, 40, 178);
/* oklch */ color: oklch(55.5% 0.226 328.7);
Tailwind
colors: {
  custom: {
    50: '#cf73c9',
    500: '#b428b2',
    950: '#000000',
  },
}
SCSS
$custom: #b428b2;
$custom-light: #cf73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b428b2",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 300.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55463,
    "c": 0.22599,
    "h": 328.7
  },
  "luminance": 0.14435
}

Semantic roles & 50–950 ramp

primary
#B428B2
secondary
#70C871
accent
#E74441
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B428B2

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

Preview Lab → · Contrast checker → · Palette generator →

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