#B2219A#B2219A

#B2219A is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.214 H 336.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B2219A
RGBrgb(178, 33, 154)
HSLhsl(310, 69%, 41%)
HSVhsv(310, 81%, 70%)
CMYKcmyk(0%, 81.5%, 13.5%, 30.2%)
CIE-LABlab(42.59, 66.67, -31.60)
CIE-LCHlch(42.59, 73.78, 334.64°)
OKLaboklab(53.37% 0.1961 -0.0863)
OKLCHoklch(53.37% 0.214 336.2)
XYZxyz(24.7371, 12.8881, 31.7505)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2219A #21B239
analogous
#8221B2 #B2219A #B22152
triadic
#B2219A #9AB221 #219AB2
tetradic
#B2219A #B28221 #21B239 #2152B2
square
#B2219A #B28221 #21B239 #2152B2
split-complementary
#B2219A #52B221 #21B282
monochromatic
#4B0E41 #7E176D #B2219A #DA36BF #E36ACF

Accessibility & contrast

On white

5.87
#B2219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B2219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2219A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2219A#FFFFFF#000000##FFFFFF
##B2219A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579D
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#BC2E5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b2219a;
/* rgb */ color: rgb(178, 33, 154);
/* oklch */ color: oklch(53.4% 0.214 336.2);
Tailwind
colors: {
  custom: {
    50: '#cd6fb8',
    500: '#b2219a',
    950: '#000000',
  },
}
SCSS
$custom: #b2219a;
$custom-light: #cd6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#b2219a",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 309.931,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53369,
    "c": 0.21422,
    "h": 336.2
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#B2219A
secondary
#66C976
accent
#EC593C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2219A

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

Preview Lab → · Contrast checker → · Palette generator →

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