#B421A2#B421A2

#B421A2 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.221 H 334.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B421A2
RGBrgb(180, 33, 162)
HSLhsl(307, 69%, 42%)
HSVhsv(307, 82%, 71%)
CMYKcmyk(0%, 81.7%, 10%, 29.4%)
CIE-LABlab(43.36, 68.23, -35.17)
CIE-LCHlch(43.36, 76.77, 332.73°)
OKLaboklab(54.12% 0.1984 -0.0965)
OKLCHoklch(54.12% 0.221 334.1)
XYZxyz(25.8881, 13.4020, 35.3988)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B421A2 #21B433
analogous
#7D21B4 #B421A2 #B42159
triadic
#B421A2 #A2B421 #21A2B4
tetradic
#B421A2 #B47D21 #21B433 #2159B4
square
#B421A2 #B47D21 #21B433 #2159B4
split-complementary
#B421A2 #59B421 #21B47D
monochromatic
#4D0E45 #801873 #B421A2 #DA38C7 #E46BD5

Accessibility & contrast

On white

5.71
#B421A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B421A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B421A2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B421A2#FFFFFF#000000##FFFFFF
##B421A21.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#586E9F
Tritanopia (blue-blind)
#BD3262
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b421a2;
/* rgb */ color: rgb(180, 33, 162);
/* oklch */ color: oklch(54.1% 0.221 334.1);
Tailwind
colors: {
  custom: {
    50: '#cf70be',
    500: '#b421a2',
    950: '#000000',
  },
}
SCSS
$custom: #b421a2;
$custom-light: #cf70be;
$custom-dark: #000000;
JSON
{
  "hex": "#b421a2",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 307.347,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.22059,
    "h": 334.1
  },
  "luminance": 0.134
}

Semantic roles & 50–950 ramp

primary
#B421A2
secondary
#67CA73
accent
#EC513C
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B421A2

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

Preview Lab → · Contrast checker → · Palette generator →

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