#B2219E#B2219E

#B2219E is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.217 H 334.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B2219E
RGBrgb(178, 33, 158)
HSLhsl(308, 69%, 41%)
HSVhsv(308, 81%, 70%)
CMYKcmyk(0%, 81.5%, 11.2%, 30.2%)
CIE-LABlab(42.80, 67.24, -33.69)
CIE-LCHlch(42.80, 75.21, 333.39°)
OKLaboklab(53.58% 0.1963 -0.0923)
OKLCHoklch(53.58% 0.217 334.8)
XYZxyz(25.0758, 13.0236, 33.5343)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2219E #21B235
analogous
#7E21B2 #B2219E #B22156
triadic
#B2219E #9EB221 #219EB2
tetradic
#B2219E #B27E21 #21B235 #2156B2
square
#B2219E #B27E21 #21B235 #2156B2
split-complementary
#B2219E #56B221 #21B27E
monochromatic
#4B0E42 #7E1770 #B2219E #DA36C3 #E36AD3

Accessibility & contrast

On white

5.83
#B2219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B2219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2219E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2219E#FFFFFF#000000##FFFFFF
##B2219E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#BB3060
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b2219e;
/* rgb */ color: rgb(178, 33, 158);
/* oklch */ color: oklch(53.6% 0.217 334.8);
Tailwind
colors: {
  custom: {
    50: '#cd70bb',
    500: '#b2219e',
    950: '#000000',
  },
}
SCSS
$custom: #b2219e;
$custom-light: #cd70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2219e",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 308.276,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53582,
    "c": 0.2169,
    "h": 334.8
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2219E

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

Preview Lab → · Contrast checker → · Palette generator →

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