#8B1779#8B1779

#8B1779 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.180 H 335.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8B1779
RGBrgb(139, 23, 121)
HSLhsl(309, 72%, 32%)
HSVhsv(309, 83%, 55%)
CMYKcmyk(0%, 83.5%, 12.9%, 45.5%)
CIE-LABlab(32.88, 55.88, -27.03)
CIE-LCHlch(32.88, 62.07, 334.19°)
OKLaboklab(44.54% 0.1639 -0.0739)
OKLCHoklch(44.54% 0.18 335.7)
XYZxyz(14.4053, 7.4836, 18.7713)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1779 #178B29
analogous
#63178B #8B1779 #8B173F
triadic
#8B1779 #798B17 #17798B
tetradic
#8B1779 #8B6317 #178B29 #173F8B
square
#8B1779 #8B6317 #178B29 #173F8B
split-complementary
#8B1779 #3F8B17 #178B63
monochromatic
#22061E #560E4B #8B1779 #C020A7 #DF3DC6

Accessibility & contrast

On white

8.41
#8B1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8B1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1779
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1779#FFFFFF#000000##FFFFFF
##8B17791.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427B
Deuteranopia (green-blind)
#445376
Tritanopia (blue-blind)
#922248
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1779;
/* rgb */ color: rgb(139, 23, 121);
/* oklch */ color: oklch(44.5% 0.180 335.7);
Tailwind
colors: {
  custom: {
    50: '#b165a0',
    500: '#8b1779',
    950: '#000000',
  },
}
SCSS
$custom: #8b1779;
$custom-light: #b165a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1779",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 309.31,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.1798,
    "h": 335.7
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#8B1779
secondary
#3FBF53
accent
#EE5639
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1779

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

Preview Lab → · Contrast checker → · Palette generator →

#8B1779 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva