#B421A4#B421A4

#B421A4 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.222 H 333.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B421A4
RGBrgb(180, 33, 164)
HSLhsl(307, 69%, 42%)
HSVhsv(307, 82%, 71%)
CMYKcmyk(0%, 81.7%, 8.9%, 29.4%)
CIE-LABlab(43.47, 68.53, -36.20)
CIE-LCHlch(43.47, 77.50, 332.15°)
OKLaboklab(54.23% 0.1984 -0.0995)
OKLCHoklch(54.23% 0.222 333.4)
XYZxyz(26.0673, 13.4737, 36.3426)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B421A4 #21B431
analogous
#7B21B4 #B421A4 #B4215A
triadic
#B421A4 #A4B421 #21A4B4
tetradic
#B421A4 #B47B21 #21B431 #215AB4
square
#B421A4 #B47B21 #21B431 #215AB4
split-complementary
#B421A4 #5AB421 #21B47B
monochromatic
#4D0E46 #801875 #B421A4 #DA38C9 #E46BD7

Accessibility & contrast

On white

5.68
#B421A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B421A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B421A4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B421A4#FFFFFF#000000##FFFFFF
##B421A41.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A7
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#BC3363
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b421a4;
/* rgb */ color: rgb(180, 33, 164);
/* oklch */ color: oklch(54.2% 0.222 333.4);
Tailwind
colors: {
  custom: {
    50: '#cf70bf',
    500: '#b421a4',
    950: '#000000',
  },
}
SCSS
$custom: #b421a4;
$custom-light: #cf70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b421a4",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 306.531,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.22195,
    "h": 333.4
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#B421A4
secondary
#67CA72
accent
#EC4F3C
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B421A4

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

Preview Lab → · Contrast checker → · Palette generator →

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