#B2319D#B2319D

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

Color values

HEX#B2319D
RGBrgb(178, 49, 157)
HSLhsl(310, 57%, 45%)
HSVhsv(310, 72%, 70%)
CMYKcmyk(0%, 72.5%, 11.8%, 30.2%)
CIE-LABlab(44.37, 62.44, -30.61)
CIE-LCHlch(44.37, 69.54, 333.88°)
OKLaboklab(54.7% 0.1824 -0.0836)
OKLCHoklch(54.7% 0.201 335.4)
XYZxyz(25.5445, 14.0982, 33.2676)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2319D #31B246
analogous
#8631B2 #B2319D #B2315D
triadic
#B2319D #9DB231 #319DB2
tetradic
#B2319D #B28631 #31B246 #315DB2
square
#B2319D #B28631 #31B246 #315DB2
split-complementary
#B2319D #5DB231 #31B286
monochromatic
#521748 #822473 #B2319D #CF51BB #DC81CD

Accessibility & contrast

On white

5.50
#B2319D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B2319D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2319D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2319D#FFFFFF#000000##FFFFFF
##B2319D1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA0
Deuteranopia (green-blind)
#5E709A
Tritanopia (blue-blind)
#BB3B63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b2319d;
/* rgb */ color: rgb(178, 49, 157);
/* oklch */ color: oklch(54.7% 0.201 335.4);
Tailwind
colors: {
  custom: {
    50: '#cd75ba',
    500: '#b2319d',
    950: '#000000',
  },
}
SCSS
$custom: #b2319d;
$custom-light: #cd75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b2319d",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 309.767,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54697,
    "c": 0.20066,
    "h": 335.4
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#B2319D
secondary
#79C586
accent
#E06148
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2319D

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

Preview Lab → · Contrast checker → · Palette generator →

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