#B219AB#B219AB

#B219AB is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.9% C 0.231 H 330.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B219AB
RGBrgb(178, 25, 171)
HSLhsl(303, 75%, 40%)
HSVhsv(303, 86%, 70%)
CMYKcmyk(0%, 86%, 3.9%, 30.2%)
CIE-LABlab(42.92, 70.86, -41.27)
CIE-LCHlch(42.92, 82.00, 329.78°)
OKLaboklab(53.9% 0.2013 -0.1142)
OKLCHoklch(53.9% 0.231 330.4)
XYZxyz(26.0584, 13.1027, 39.6768)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B219AB #19B220
analogous
#6C19B2 #B219AB #B2195F
triadic
#B219AB #ABB219 #19ABB2
tetradic
#B219AB #B26C19 #19B220 #195FB2
square
#B219AB #B26C19 #19B220 #195FB2
split-complementary
#B219AB #5FB219 #19B26C
monochromatic
#470A44 #7C1177 #B219AB #E127D8 #E85DE2

Accessibility & contrast

On white

5.80
#B219AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B219AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B219AB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B219AB#FFFFFF#000000##FFFFFF
##B219AB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#4F6CA8
Tritanopia (blue-blind)
#B93466
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b219ab;
/* rgb */ color: rgb(178, 25, 171);
/* oklch */ color: oklch(53.9% 0.231 330.4);
Tailwind
colors: {
  custom: {
    50: '#cd6ec4',
    500: '#b219ab',
    950: '#000000',
  },
}
SCSS
$custom: #b219ab;
$custom-light: #cd6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#b219ab",
  "rgb": {
    "r": 178,
    "g": 25,
    "b": 171
  },
  "hsl": {
    "h": 302.745,
    "s": 75.369,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.23144,
    "h": 330.4
  },
  "luminance": 0.13101
}

Semantic roles & 50–950 ramp

primary
#B219AB
secondary
#5BCC60
accent
#F23E36
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #B219AB

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

Preview Lab → · Contrast checker → · Palette generator →

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