#B2319E#B2319E

#B2319E is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.201 H 335.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B2319E
RGBrgb(178, 49, 158)
HSLhsl(309, 57%, 45%)
HSVhsv(309, 72%, 70%)
CMYKcmyk(0%, 72.5%, 11.2%, 30.2%)
CIE-LABlab(44.42, 62.59, -31.14)
CIE-LCHlch(44.42, 69.90, 333.55°)
OKLaboklab(54.75% 0.1825 -0.085)
OKLCHoklch(54.75% 0.201 335)
XYZxyz(25.6303, 14.1325, 33.7191)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2319E #31B245
analogous
#8531B2 #B2319E #B2315E
triadic
#B2319E #9EB231 #319EB2
tetradic
#B2319E #B28531 #31B245 #315EB2
square
#B2319E #B28531 #31B245 #315EB2
split-complementary
#B2319E #5EB231 #31B285
monochromatic
#521749 #822473 #B2319E #CF51BC #DC81CE

Accessibility & contrast

On white

5.49
#B2319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2319E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2319E#FFFFFF#000000##FFFFFF
##B2319E1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA1
Deuteranopia (green-blind)
#5E709B
Tritanopia (blue-blind)
#BB3B64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b2319e;
/* rgb */ color: rgb(178, 49, 158);
/* oklch */ color: oklch(54.7% 0.201 335.0);
Tailwind
colors: {
  custom: {
    50: '#cd76bb',
    500: '#b2319e',
    950: '#000000',
  },
}
SCSS
$custom: #b2319e;
$custom-light: #cd76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2319e",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 309.302,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.20136,
    "h": 335
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2319E

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

Preview Lab → · Contrast checker → · Palette generator →

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