#B428A3#B428A3

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

Color values

HEX#B428A3
RGBrgb(180, 40, 163)
HSLhsl(307, 64%, 43%)
HSVhsv(307, 78%, 71%)
CMYKcmyk(0%, 77.8%, 9.4%, 29.4%)
CIE-LABlab(44.04, 66.57, -34.70)
CIE-LCHlch(44.04, 75.07, 332.47°)
OKLaboklab(54.62% 0.1931 -0.0952)
OKLCHoklch(54.62% 0.215 333.8)
XYZxyz(26.1923, 13.8675, 35.9405)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B428A3 #28B439
analogous
#7F28B4 #B428A3 #B4285D
triadic
#B428A3 #A3B428 #28A3B4
tetradic
#B428A3 #B47F28 #28B439 #285DB4
square
#B428A3 #B47F28 #28B439 #285DB4
split-complementary
#B428A3 #5DB428 #28B47F
monochromatic
#501248 #821D76 #B428A3 #D544C4 #E176D4

Accessibility & contrast

On white

5.57
#B428A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B428A3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B428A3#FFFFFF#000000##FFFFFF
##B428A31.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA6
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#BD3764
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b428a3;
/* rgb */ color: rgb(180, 40, 163);
/* oklch */ color: oklch(54.6% 0.215 333.8);
Tailwind
colors: {
  custom: {
    50: '#ce72be',
    500: '#b428a3',
    950: '#000000',
  },
}
SCSS
$custom: #b428a3;
$custom-light: #ce72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b428a3",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 307.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54621,
    "c": 0.21524,
    "h": 333.8
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#B428A3
secondary
#70C87A
accent
#E75541
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B428A3

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

Preview Lab → · Contrast checker → · Palette generator →

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