#B1319D#B1319D

#B1319D is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.5% C 0.200 H 335.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B1319D
RGBrgb(177, 49, 157)
HSLhsl(309, 57%, 44%)
HSVhsv(309, 72%, 69%)
CMYKcmyk(0%, 72.3%, 11.3%, 30.6%)
CIE-LABlab(44.20, 62.20, -30.89)
CIE-LCHlch(44.20, 69.45, 333.59°)
OKLaboklab(54.54% 0.1814 -0.0844)
OKLCHoklch(54.54% 0.2 335.1)
XYZxyz(25.3159, 13.9803, 33.2569)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1319D #31B145
analogous
#8531B1 #B1319D #B1315D
triadic
#B1319D #9DB131 #319DB1
tetradic
#B1319D #B18531 #31B145 #315DB1
square
#B1319D #B18531 #31B145 #315DB1
split-complementary
#B1319D #5DB131 #31B185
monochromatic
#511648 #812472 #B1319D #CF51BB #DC80CE

Accessibility & contrast

On white

5.53
#B1319D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B1319D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1319D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1319D#FFFFFF#000000##FFFFFF
##B1319D1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315CA0
Deuteranopia (green-blind)
#5E6F9A
Tritanopia (blue-blind)
#BA3B63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b1319d;
/* rgb */ color: rgb(177, 49, 157);
/* oklch */ color: oklch(54.5% 0.200 335.1);
Tailwind
colors: {
  custom: {
    50: '#cc75ba',
    500: '#b1319d',
    950: '#000000',
  },
}
SCSS
$custom: #b1319d;
$custom-light: #cc75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b1319d",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 309.375,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54543,
    "c": 0.20008,
    "h": 335.1
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#B1319D
secondary
#79C585
accent
#E06048
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B1319D

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

Preview Lab → · Contrast checker → · Palette generator →

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