#B3219E#B3219E

#B3219E is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.217 H 335.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B3219E
RGBrgb(179, 33, 158)
HSLhsl(309, 69%, 42%)
HSVhsv(309, 82%, 70%)
CMYKcmyk(0%, 81.6%, 11.7%, 29.8%)
CIE-LABlab(42.98, 67.45, -33.39)
CIE-LCHlch(42.98, 75.26, 333.66°)
OKLaboklab(53.74% 0.1972 -0.0914)
OKLCHoklch(53.74% 0.217 335.1)
XYZxyz(25.3062, 13.1424, 33.5451)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3219E #21B336
analogous
#7F21B3 #B3219E #B32155
triadic
#B3219E #9EB321 #219EB3
tetradic
#B3219E #B37F21 #21B336 #2155B3
square
#B3219E #B37F21 #21B336 #2155B3
split-complementary
#B3219E #55B321 #21B37F
monochromatic
#4C0E43 #7F1770 #B3219E #DA37C3 #E46BD2

Accessibility & contrast

On white

5.79
#B3219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B3219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3219E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3219E#FFFFFF#000000##FFFFFF
##B3219E1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A1
Deuteranopia (green-blind)
#596D9B
Tritanopia (blue-blind)
#BC3060
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3219e;
/* rgb */ color: rgb(179, 33, 158);
/* oklch */ color: oklch(53.7% 0.217 335.1);
Tailwind
colors: {
  custom: {
    50: '#ce70bb',
    500: '#b3219e',
    950: '#000000',
  },
}
SCSS
$custom: #b3219e;
$custom-light: #ce70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3219e",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 308.63,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.21739,
    "h": 335.1
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#B3219E
secondary
#66CA74
accent
#EC553C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B3219E

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

Preview Lab → · Contrast checker → · Palette generator →

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