#B2219F#B2219F

#B2219F is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.218 H 334.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B2219F
RGBrgb(178, 33, 159)
HSLhsl(308, 69%, 41%)
HSVhsv(308, 81%, 70%)
CMYKcmyk(0%, 81.5%, 10.7%, 30.2%)
CIE-LABlab(42.85, 67.38, -34.21)
CIE-LCHlch(42.85, 75.57, 333.09°)
OKLaboklab(53.64% 0.1963 -0.0938)
OKLCHoklch(53.64% 0.218 334.5)
XYZxyz(25.1623, 13.0582, 33.9894)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2219F #21B234
analogous
#7D21B2 #B2219F #B22157
triadic
#B2219F #9FB221 #219FB2
tetradic
#B2219F #B27D21 #21B234 #2157B2
square
#B2219F #B27D21 #21B234 #2157B2
split-complementary
#B2219F #57B221 #21B27D
monochromatic
#4B0E43 #7E1771 #B2219F #DA36C4 #E36AD3

Accessibility & contrast

On white

5.82
#B2219F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B2219F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2219F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2219F#FFFFFF#000000##FFFFFF
##B2219F1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#586C9C
Tritanopia (blue-blind)
#BB3160
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b2219f;
/* rgb */ color: rgb(178, 33, 159);
/* oklch */ color: oklch(53.6% 0.218 334.5);
Tailwind
colors: {
  custom: {
    50: '#cd70bc',
    500: '#b2219f',
    950: '#000000',
  },
}
SCSS
$custom: #b2219f;
$custom-light: #cd70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b2219f",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 307.862,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.21757,
    "h": 334.5
  },
  "luminance": 0.13056
}

Semantic roles & 50–950 ramp

primary
#B2219F
secondary
#66C973
accent
#EC533C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B2219F

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

Preview Lab → · Contrast checker → · Palette generator →

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