#8B1979#8B1979

#8B1979 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.178 H 335.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8B1979
RGBrgb(139, 25, 121)
HSLhsl(309, 70%, 32%)
HSVhsv(309, 82%, 55%)
CMYKcmyk(0%, 82%, 12.9%, 45.5%)
CIE-LABlab(33.06, 55.36, -26.75)
CIE-LCHlch(33.06, 61.48, 334.21°)
OKLaboklab(44.67% 0.1624 -0.0731)
OKLCHoklch(44.67% 0.178 335.8)
XYZxyz(14.4465, 7.5661, 18.7850)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1979 #198B2B
analogous
#64198B #8B1979 #8B1940
triadic
#8B1979 #798B19 #19798B
tetradic
#8B1979 #8B6419 #198B2B #19408B
square
#8B1979 #8B6419 #198B2B #19408B
split-complementary
#8B1979 #408B19 #198B64
monochromatic
#23061F #57104C #8B1979 #BF22A6 #DD41C4

Accessibility & contrast

On white

8.36
#8B1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8B1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1979
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1979#FFFFFF#000000##FFFFFF
##8B19791.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#455476
Tritanopia (blue-blind)
#922349
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1979;
/* rgb */ color: rgb(139, 25, 121);
/* oklch */ color: oklch(44.7% 0.178 335.8);
Tailwind
colors: {
  custom: {
    50: '#b165a0',
    500: '#8b1979',
    950: '#000000',
  },
}
SCSS
$custom: #8b1979;
$custom-light: #b165a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1979",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 309.474,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44668,
    "c": 0.17808,
    "h": 335.8
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#8B1979
secondary
#42BE56
accent
#EC573B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1979

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

Preview Lab → · Contrast checker → · Palette generator →

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