#B428B3#B428B3

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

Color values

HEX#B428B3
RGBrgb(180, 40, 179)
HSLhsl(300, 64%, 43%)
HSVhsv(300, 78%, 71%)
CMYKcmyk(0%, 77.8%, 0.6%, 29.4%)
CIE-LABlab(44.91, 69.03, -42.82)
CIE-LCHlch(44.91, 81.23, 328.19°)
OKLaboklab(55.52% 0.1932 -0.1187)
OKLCHoklch(55.52% 0.227 328.4)
XYZxyz(27.7176, 14.4777, 43.9737)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428B3 #28B429
analogous
#6F28B4 #B428B3 #B4286D
triadic
#B428B3 #B3B428 #28B3B4
tetradic
#B428B3 #B46F28 #28B429 #286DB4
square
#B428B3 #B46F28 #28B429 #286DB4
split-complementary
#B428B3 #6DB428 #28B46F
monochromatic
#50124F #821D81 #B428B3 #D544D4 #E176E0

Accessibility & contrast

On white

5.39
#B428B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B428B3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428B3#FFFFFF#000000##FFFFFF
##B428B31.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#BA406D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b428b3;
/* rgb */ color: rgb(180, 40, 179);
/* oklch */ color: oklch(55.5% 0.227 328.4);
Tailwind
colors: {
  custom: {
    50: '#cf73ca',
    500: '#b428b3',
    950: '#000000',
  },
}
SCSS
$custom: #b428b3;
$custom-light: #cf73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b428b3",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 300.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.22673,
    "h": 328.4
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B428B3

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

Preview Lab → · Contrast checker → · Palette generator →

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