#B1319E#B1319E

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

Color values

HEX#B1319E
RGBrgb(177, 49, 158)
HSLhsl(309, 57%, 44%)
HSVhsv(309, 72%, 69%)
CMYKcmyk(0%, 72.3%, 10.7%, 30.6%)
CIE-LABlab(44.25, 62.35, -31.41)
CIE-LCHlch(44.25, 69.82, 333.26°)
OKLaboklab(54.59% 0.1815 -0.0859)
OKLCHoklch(54.59% 0.201 334.7)
XYZxyz(25.4016, 14.0146, 33.7084)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1319E #31B144
analogous
#8431B1 #B1319E #B1315E
triadic
#B1319E #9EB131 #319EB1
tetradic
#B1319E #B18431 #31B144 #315EB1
square
#B1319E #B18431 #31B144 #315EB1
split-complementary
#B1319E #5EB131 #31B184
monochromatic
#511648 #812473 #B1319E #CF51BC #DC80CE

Accessibility & contrast

On white

5.52
#B1319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1319E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1319E#FFFFFF#000000##FFFFFF
##B1319E1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1319e;
/* rgb */ color: rgb(177, 49, 158);
/* oklch */ color: oklch(54.6% 0.201 334.7);
Tailwind
colors: {
  custom: {
    50: '#cc75bb',
    500: '#b1319e',
    950: '#000000',
  },
}
SCSS
$custom: #b1319e;
$custom-light: #cc75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b1319e",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 308.906,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54594,
    "c": 0.2008,
    "h": 334.7
  },
  "luminance": 0.14012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1319E

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

Preview Lab → · Contrast checker → · Palette generator →

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