#8C1979#8C1979

#8C1979 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.179 H 336.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8C1979
RGBrgb(140, 25, 121)
HSLhsl(310, 70%, 32%)
HSVhsv(310, 82%, 55%)
CMYKcmyk(0%, 82.1%, 13.6%, 45.1%)
CIE-LABlab(33.25, 55.59, -26.44)
CIE-LCHlch(33.25, 61.56, 334.56°)
OKLaboklab(44.84% 0.1634 -0.0722)
OKLCHoklch(44.84% 0.179 336.2)
XYZxyz(14.6143, 7.6526, 18.7929)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1979 #198C2C
analogous
#66198C #8C1979 #8C1940
triadic
#8C1979 #798C19 #19798C
tetradic
#8C1979 #8C6619 #198C2C #19408C
square
#8C1979 #8C6619 #198C2C #19408C
split-complementary
#8C1979 #408C19 #198C66
monochromatic
#24061F #58104C #8C1979 #C022A6 #DD42C4

Accessibility & contrast

On white

8.30
#8C1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8C1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1979
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1979#FFFFFF#000000##FFFFFF
##8C19791.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#465476
Tritanopia (blue-blind)
#942349
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c1979;
/* rgb */ color: rgb(140, 25, 121);
/* oklch */ color: oklch(44.8% 0.179 336.2);
Tailwind
colors: {
  custom: {
    50: '#b165a0',
    500: '#8c1979',
    950: '#000000',
  },
}
SCSS
$custom: #8c1979;
$custom-light: #b165a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1979",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 309.913,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44836,
    "c": 0.17861,
    "h": 336.2
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#8C1979
secondary
#43BE57
accent
#ED593B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8C1979

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

Preview Lab → · Contrast checker → · Palette generator →

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