#B4219E#B4219E

#B4219E is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.218 H 335.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B4219E
RGBrgb(180, 33, 158)
HSLhsl(309, 69%, 42%)
HSVhsv(309, 82%, 71%)
CMYKcmyk(0%, 81.7%, 12.2%, 29.4%)
CIE-LABlab(43.16, 67.66, -33.10)
CIE-LCHlch(43.16, 75.32, 333.93°)
OKLaboklab(53.9% 0.1982 -0.0905)
OKLCHoklch(53.9% 0.218 335.4)
XYZxyz(25.5382, 13.2620, 33.5560)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4219E #21B437
analogous
#8121B4 #B4219E #B42154
triadic
#B4219E #9EB421 #219EB4
tetradic
#B4219E #B48121 #21B437 #2154B4
square
#B4219E #B48121 #21B437 #2154B4
split-complementary
#B4219E #54B421 #21B481
monochromatic
#4D0E43 #801871 #B4219E #DA38C2 #E46BD2

Accessibility & contrast

On white

5.75
#B4219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B4219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4219E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4219E#FFFFFF#000000##FFFFFF
##B4219E1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A1
Deuteranopia (green-blind)
#5A6D9B
Tritanopia (blue-blind)
#BD2F60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4219e;
/* rgb */ color: rgb(180, 33, 158);
/* oklch */ color: oklch(53.9% 0.218 335.4);
Tailwind
colors: {
  custom: {
    50: '#cf70bb',
    500: '#b4219e',
    950: '#000000',
  },
}
SCSS
$custom: #b4219e;
$custom-light: #cf70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4219e",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 308.98,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.2179,
    "h": 335.4
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#B4219E
secondary
#67CA76
accent
#EC563C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4219E

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

Preview Lab → · Contrast checker → · Palette generator →

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