#B4179A#B4179A

#B4179A is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.2% C 0.222 H 336.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B4179A
RGBrgb(180, 23, 154)
HSLhsl(310, 77%, 40%)
HSVhsv(310, 87%, 71%)
CMYKcmyk(0%, 87.2%, 14.4%, 29.4%)
CIE-LABlab(42.23, 69.19, -32.14)
CIE-LCHlch(42.23, 76.29, 335.08°)
OKLaboklab(53.18% 0.2042 -0.0877)
OKLCHoklch(53.18% 0.222 336.7)
XYZxyz(24.9621, 12.6517, 31.6930)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4179A #17B431
analogous
#7F17B4 #B4179A #B4174C
triadic
#B4179A #9AB417 #179AB4
tetradic
#B4179A #B47F17 #17B431 #174CB4
square
#B4179A #B47F17 #17B431 #174CB4
split-complementary
#B4179A #4CB417 #17B47F
monochromatic
#47093D #7E106C #B4179A #E325C4 #EA5BD2

Accessibility & contrast

On white

5.95
#B4179A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B4179A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4179A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4179A#FFFFFF#000000##FFFFFF
##B4179A1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#BE275C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4179a;
/* rgb */ color: rgb(180, 23, 154);
/* oklch */ color: oklch(53.2% 0.222 336.7);
Tailwind
colors: {
  custom: {
    50: '#cf6db8',
    500: '#b4179a',
    950: '#000000',
  },
}
SCSS
$custom: #b4179a;
$custom-light: #cf6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#b4179a",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 154
  },
  "hsl": {
    "h": 309.936,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53178,
    "c": 0.22227,
    "h": 336.7
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#B4179A
secondary
#59CE6C
accent
#F45434
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B4179A

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

Preview Lab → · Contrast checker → · Palette generator →

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