#B4179D#B4179D

#B4179D is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.224 H 335.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B4179D
RGBrgb(180, 23, 157)
HSLhsl(309, 77%, 40%)
HSVhsv(309, 87%, 71%)
CMYKcmyk(0%, 87.2%, 12.8%, 29.4%)
CIE-LABlab(42.39, 69.60, -33.71)
CIE-LCHlch(42.39, 77.33, 334.16°)
OKLaboklab(53.34% 0.2043 -0.0922)
OKLCHoklch(53.34% 0.224 335.7)
XYZxyz(25.2150, 12.7529, 33.0253)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4179D #17B42E
analogous
#7D17B4 #B4179D #B4174E
triadic
#B4179D #9DB417 #179DB4
tetradic
#B4179D #B47D17 #17B42E #174EB4
square
#B4179D #B47D17 #17B42E #174EB4
split-complementary
#B4179D #4EB417 #17B47D
monochromatic
#47093E #7E106E #B4179D #E325C7 #EA5BD5

Accessibility & contrast

On white

5.92
#B4179D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B4179D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4179D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4179D#FFFFFF#000000##FFFFFF
##B4179D1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A0
Deuteranopia (green-blind)
#586C9A
Tritanopia (blue-blind)
#BE295D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4179d;
/* rgb */ color: rgb(180, 23, 157);
/* oklch */ color: oklch(53.3% 0.224 335.7);
Tailwind
colors: {
  custom: {
    50: '#cf6dba',
    500: '#b4179d',
    950: '#000000',
  },
}
SCSS
$custom: #b4179d;
$custom-light: #cf6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#b4179d",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 157
  },
  "hsl": {
    "h": 308.79,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.22419,
    "h": 335.7
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#B4179D
secondary
#59CE6A
accent
#F45034
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B4179D

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

Preview Lab → · Contrast checker → · Palette generator →

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