#B4219C#B4219C

#B4219C is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.217 H 336.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B4219C
RGBrgb(180, 33, 156)
HSLhsl(310, 69%, 42%)
HSVhsv(310, 82%, 71%)
CMYKcmyk(0%, 81.7%, 13.3%, 29.4%)
CIE-LABlab(43.05, 67.38, -32.06)
CIE-LCHlch(43.05, 74.62, 334.56°)
OKLaboklab(53.8% 0.1981 -0.0875)
OKLCHoklch(53.8% 0.217 336.2)
XYZxyz(25.3675, 13.1937, 32.6567)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4219C #21B439
analogous
#8321B4 #B4219C #B42153
triadic
#B4219C #9CB421 #219CB4
tetradic
#B4219C #B48321 #21B439 #2153B4
square
#B4219C #B48321 #21B439 #2153B4
split-complementary
#B4219C #53B421 #21B483
monochromatic
#4D0E42 #80186F #B4219C #DA38C0 #E46BD0

Accessibility & contrast

On white

5.77
#B4219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B4219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4219C
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4219C#FFFFFF#000000##FFFFFF
##B4219C1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24589F
Deuteranopia (green-blind)
#5B6D99
Tritanopia (blue-blind)
#BE2E5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4219c;
/* rgb */ color: rgb(180, 33, 156);
/* oklch */ color: oklch(53.8% 0.217 336.2);
Tailwind
colors: {
  custom: {
    50: '#cf70b9',
    500: '#b4219c',
    950: '#000000',
  },
}
SCSS
$custom: #b4219c;
$custom-light: #cf70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4219c",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 309.796,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.21657,
    "h": 336.2
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#B4219C
secondary
#67CA77
accent
#EC593C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4219C

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

Preview Lab → · Contrast checker → · Palette generator →

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