#B421A0#B421A0

#B421A0 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.219 H 334.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B421A0
RGBrgb(180, 33, 160)
HSLhsl(308, 69%, 42%)
HSVhsv(308, 82%, 71%)
CMYKcmyk(0%, 81.7%, 11.1%, 29.4%)
CIE-LABlab(43.26, 67.95, -34.14)
CIE-LCHlch(43.26, 76.04, 333.32°)
OKLaboklab(54.01% 0.1983 -0.0935)
OKLCHoklch(54.01% 0.219 334.7)
XYZxyz(25.7118, 13.3315, 34.4700)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B421A0 #21B435
analogous
#7F21B4 #B421A0 #B42157
triadic
#B421A0 #A0B421 #21A0B4
tetradic
#B421A0 #B47F21 #21B435 #2157B4
square
#B421A0 #B47F21 #21B435 #2157B4
split-complementary
#B421A0 #57B421 #21B47F
monochromatic
#4D0E44 #801872 #B421A0 #DA38C4 #E46BD4

Accessibility & contrast

On white

5.73
#B421A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B421A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B421A0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B421A0#FFFFFF#000000##FFFFFF
##B421A01.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A3
Deuteranopia (green-blind)
#596E9D
Tritanopia (blue-blind)
#BD3161
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b421a0;
/* rgb */ color: rgb(180, 33, 160);
/* oklch */ color: oklch(54.0% 0.219 334.7);
Tailwind
colors: {
  custom: {
    50: '#cf70bc',
    500: '#b421a0',
    950: '#000000',
  },
}
SCSS
$custom: #b421a0;
$custom-light: #cf70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b421a0",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 160
  },
  "hsl": {
    "h": 308.163,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5401,
    "c": 0.21924,
    "h": 334.7
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#B421A0
secondary
#67CA74
accent
#EC543C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B421A0

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

Preview Lab → · Contrast checker → · Palette generator →

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