#B1319C#B1319C

#B1319C is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.5% C 0.199 H 335.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B1319C
RGBrgb(177, 49, 156)
HSLhsl(310, 57%, 44%)
HSVhsv(310, 72%, 69%)
CMYKcmyk(0%, 72.3%, 11.9%, 30.6%)
CIE-LABlab(44.16, 62.05, -30.37)
CIE-LCHlch(44.16, 69.08, 333.92°)
OKLaboklab(54.49% 0.1813 -0.0829)
OKLCHoklch(54.49% 0.199 335.4)
XYZxyz(25.2309, 13.9463, 32.8091)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1319C #31B146
analogous
#8631B1 #B1319C #B1315C
triadic
#B1319C #9CB131 #319CB1
tetradic
#B1319C #B18631 #31B146 #315CB1
square
#B1319C #B18631 #31B146 #315CB1
split-complementary
#B1319C #5CB131 #31B186
monochromatic
#511648 #812472 #B1319C #CF51BA #DC80CD

Accessibility & contrast

On white

5.54
#B1319C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B1319C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1319C
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1319C#FFFFFF#000000##FFFFFF
##B1319C1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1319c;
/* rgb */ color: rgb(177, 49, 156);
/* oklch */ color: oklch(54.5% 0.199 335.4);
Tailwind
colors: {
  custom: {
    50: '#cc75b9',
    500: '#b1319c',
    950: '#000000',
  },
}
SCSS
$custom: #b1319c;
$custom-light: #cc75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b1319c",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 309.844,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54491,
    "c": 0.19937,
    "h": 335.4
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1319C

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

Preview Lab → · Contrast checker → · Palette generator →

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