#B1379D#B1379D

#B1379D is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.1% C 0.193 H 335.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B1379D
RGBrgb(177, 55, 157)
HSLhsl(310, 53%, 45%)
HSVhsv(310, 69%, 69%)
CMYKcmyk(0%, 68.9%, 11.3%, 30.6%)
CIE-LABlab(44.96, 60.06, -29.70)
CIE-LCHlch(44.96, 67.00, 333.69°)
OKLaboklab(55.09% 0.1751 -0.081)
OKLCHoklch(55.09% 0.193 335.2)
XYZxyz(25.5837, 14.5160, 33.3462)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1379D #37B14B
analogous
#8837B1 #B1379D #B13760
triadic
#B1379D #9DB137 #379DB1
tetradic
#B1379D #B18837 #37B14B #3760B1
square
#B1379D #B18837 #37B14B #3760B1
split-complementary
#B1379D #60B137 #37B188
monochromatic
#541A4A #822874 #B1379D #CC5AB9 #DA88CD

Accessibility & contrast

On white

5.38
#B1379D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B1379D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1379D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1379D#FFFFFF#000000##FFFFFF
##B1379D1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#60719A
Tritanopia (blue-blind)
#BA4065
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b1379d;
/* rgb */ color: rgb(177, 55, 157);
/* oklch */ color: oklch(55.1% 0.193 335.2);
Tailwind
colors: {
  custom: {
    50: '#cc78ba',
    500: '#b1379d',
    950: '#000000',
  },
}
SCSS
$custom: #b1379d;
$custom-light: #cc78ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b1379d",
  "rgb": {
    "r": 177,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 309.836,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55092,
    "c": 0.19292,
    "h": 335.2
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#B1379D
secondary
#80C48B
accent
#DC634C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B1379D

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

Preview Lab → · Contrast checker → · Palette generator →

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