#B1319F#B1319F

#B1319F is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.202 H 334.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B1319F
RGBrgb(177, 49, 159)
HSLhsl(308, 57%, 44%)
HSVhsv(308, 72%, 69%)
CMYKcmyk(0%, 72.3%, 10.2%, 30.6%)
CIE-LABlab(44.30, 62.50, -31.93)
CIE-LCHlch(44.30, 70.19, 332.94°)
OKLaboklab(54.65% 0.1816 -0.0874)
OKLCHoklch(54.65% 0.202 334.3)
XYZxyz(25.4880, 14.0491, 34.1635)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1319F #31B143
analogous
#8331B1 #B1319F #B1315F
triadic
#B1319F #9FB131 #319FB1
tetradic
#B1319F #B18331 #31B143 #315FB1
square
#B1319F #B18331 #31B143 #315FB1
split-complementary
#B1319F #5FB131 #31B183
monochromatic
#511649 #812474 #B1319F #CF51BD #DC80CF

Accessibility & contrast

On white

5.51
#B1319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B1319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1319F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1319F#FFFFFF#000000##FFFFFF
##B1319F1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#5D6F9C
Tritanopia (blue-blind)
#B93C64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b1319f;
/* rgb */ color: rgb(177, 49, 159);
/* oklch */ color: oklch(54.6% 0.202 334.3);
Tailwind
colors: {
  custom: {
    50: '#cc75bc',
    500: '#b1319f',
    950: '#000000',
  },
}
SCSS
$custom: #b1319f;
$custom-light: #cc75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b1319f",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 308.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54646,
    "c": 0.20152,
    "h": 334.3
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#B1319F
secondary
#79C584
accent
#E05D48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B1319F

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

Preview Lab → · Contrast checker → · Palette generator →

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