#B4219F#B4219F

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

Color values

HEX#B4219F
RGBrgb(180, 33, 159)
HSLhsl(309, 69%, 42%)
HSVhsv(309, 82%, 71%)
CMYKcmyk(0%, 81.7%, 11.7%, 29.4%)
CIE-LABlab(43.21, 67.80, -33.62)
CIE-LCHlch(43.21, 75.68, 333.63°)
OKLaboklab(53.96% 0.1982 -0.092)
OKLCHoklch(53.96% 0.219 335.1)
XYZxyz(25.6246, 13.2966, 34.0111)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4219F #21B436
analogous
#7F21B4 #B4219F #B42156
triadic
#B4219F #9FB421 #219FB4
tetradic
#B4219F #B47F21 #21B436 #2156B4
square
#B4219F #B47F21 #21B436 #2156B4
split-complementary
#B4219F #56B421 #21B47F
monochromatic
#4D0E44 #801871 #B4219F #DA38C3 #E46BD3

Accessibility & contrast

On white

5.74
#B4219F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B4219F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4219F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4219F#FFFFFF#000000##FFFFFF
##B4219F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#5A6E9C
Tritanopia (blue-blind)
#BD3060
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4219f;
/* rgb */ color: rgb(180, 33, 159);
/* oklch */ color: oklch(54.0% 0.219 335.1);
Tailwind
colors: {
  custom: {
    50: '#cf70bc',
    500: '#b4219f',
    950: '#000000',
  },
}
SCSS
$custom: #b4219f;
$custom-light: #cf70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b4219f",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 308.571,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.21856,
    "h": 335.1
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#B4219F
secondary
#67CA75
accent
#EC553C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4219F

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

Preview Lab → · Contrast checker → · Palette generator →

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