#B2319F#B2319F

#B2319F is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.202 H 334.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B2319F
RGBrgb(178, 49, 159)
HSLhsl(309, 57%, 45%)
HSVhsv(309, 72%, 70%)
CMYKcmyk(0%, 72.5%, 10.7%, 30.2%)
CIE-LABlab(44.47, 62.74, -31.66)
CIE-LCHlch(44.47, 70.27, 333.23°)
OKLaboklab(54.8% 0.1826 -0.0865)
OKLCHoklch(54.8% 0.202 334.6)
XYZxyz(25.7167, 14.1670, 34.1743)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2319F #31B244
analogous
#8531B2 #B2319F #B2315F
triadic
#B2319F #9FB231 #319FB2
tetradic
#B2319F #B28531 #31B244 #315FB2
square
#B2319F #B28531 #31B244 #315FB2
split-complementary
#B2319F #5FB231 #31B285
monochromatic
#521749 #822474 #B2319F #CF51BD #DC81CF

Accessibility & contrast

On white

5.48
#B2319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B2319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2319F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2319F#FFFFFF#000000##FFFFFF
##B2319F1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA2
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#BB3C64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b2319f;
/* rgb */ color: rgb(178, 49, 159);
/* oklch */ color: oklch(54.8% 0.202 334.6);
Tailwind
colors: {
  custom: {
    50: '#cd76bb',
    500: '#b2319f',
    950: '#000000',
  },
}
SCSS
$custom: #b2319f;
$custom-light: #cd76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2319f",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 308.837,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.20208,
    "h": 334.6
  },
  "luminance": 0.14165
}

Semantic roles & 50–950 ramp

primary
#B2319F
secondary
#79C585
accent
#E05E48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B2319F

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

Preview Lab → · Contrast checker → · Palette generator →

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