#B421A3#B421A3

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

Color values

HEX#B421A3
RGBrgb(180, 33, 163)
HSLhsl(307, 69%, 42%)
HSVhsv(307, 82%, 71%)
CMYKcmyk(0%, 81.7%, 9.4%, 29.4%)
CIE-LABlab(43.42, 68.38, -35.69)
CIE-LCHlch(43.42, 77.13, 332.44°)
OKLaboklab(54.17% 0.1984 -0.098)
OKLCHoklch(54.17% 0.221 333.7)
XYZxyz(25.9774, 13.4377, 35.8688)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B421A3 #21B432
analogous
#7C21B4 #B421A3 #B4215A
triadic
#B421A3 #A3B421 #21A3B4
tetradic
#B421A3 #B47C21 #21B432 #215AB4
square
#B421A3 #B47C21 #21B432 #215AB4
split-complementary
#B421A3 #5AB421 #21B47C
monochromatic
#4D0E45 #801874 #B421A3 #DA38C8 #E46BD6

Accessibility & contrast

On white

5.70
#B421A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B421A3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B421A3#FFFFFF#000000##FFFFFF
##B421A31.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A6
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#BD3263
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b421a3;
/* rgb */ color: rgb(180, 33, 163);
/* oklch */ color: oklch(54.2% 0.221 333.7);
Tailwind
colors: {
  custom: {
    50: '#cf70bf',
    500: '#b421a3',
    950: '#000000',
  },
}
SCSS
$custom: #b421a3;
$custom-light: #cf70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b421a3",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 163
  },
  "hsl": {
    "h": 306.939,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54173,
    "c": 0.22127,
    "h": 333.7
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B421A3

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

Preview Lab → · Contrast checker → · Palette generator →

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