#B428B4#B428B4

#B428B4 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.6% C 0.227 H 328.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B428B4
RGBrgb(180, 40, 180)
HSLhsl(300, 64%, 43%)
HSVhsv(300, 78%, 71%)
CMYKcmyk(0%, 77.8%, 0%, 29.4%)
CIE-LABlab(44.97, 69.18, -43.31)
CIE-LCHlch(44.97, 81.63, 327.95°)
OKLaboklab(55.58% 0.1931 -0.1201)
OKLCHoklch(55.58% 0.227 328.1)
XYZxyz(27.8191, 14.5183, 44.5083)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428B4 #28B428
analogous
#6E28B4 #B428B4 #B4286E
triadic
#B428B4 #B4B428 #28B4B4
tetradic
#B428B4 #B46E28 #28B428 #286EB4
square
#B428B4 #B46E28 #28B428 #286EB4
split-complementary
#B428B4 #6EB428 #28B46E
monochromatic
#501250 #821D82 #B428B4 #D544D5 #E176E1

Accessibility & contrast

On white

5.38
#B428B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B428B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B428B4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428B4#FFFFFF#000000##FFFFFF
##B428B41.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#BA406E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b428b4;
/* rgb */ color: rgb(180, 40, 180);
/* oklch */ color: oklch(55.6% 0.227 328.1);
Tailwind
colors: {
  custom: {
    50: '#cf73cb',
    500: '#b428b4',
    950: '#000000',
  },
}
SCSS
$custom: #b428b4;
$custom-light: #cf73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b428b4",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 300,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5558,
    "c": 0.22746,
    "h": 328.1
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#B428B4
secondary
#70C870
accent
#E74141
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B428B4

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

Preview Lab → · Contrast checker → · Palette generator →

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