#8A1779#8A1779

#8A1779 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.179 H 335.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8A1779
RGBrgb(138, 23, 121)
HSLhsl(309, 71%, 32%)
HSVhsv(309, 83%, 54%)
CMYKcmyk(0%, 83.3%, 12.3%, 45.9%)
CIE-LABlab(32.70, 55.66, -27.34)
CIE-LCHlch(32.70, 62.01, 333.84°)
OKLaboklab(44.37% 0.1629 -0.0748)
OKLCHoklch(44.37% 0.179 335.3)
XYZxyz(14.2390, 7.3979, 18.7635)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1779 #178A28
analogous
#62178A #8A1779 #8A173F
triadic
#8A1779 #798A17 #17798A
tetradic
#8A1779 #8A6217 #178A28 #173F8A
square
#8A1779 #8A6217 #178A28 #173F8A
split-complementary
#8A1779 #3F8A17 #178A62
monochromatic
#21061D #560E4B #8A1779 #BE20A7 #DF3DC7

Accessibility & contrast

On white

8.47
#8A1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1779
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1779#FFFFFF#000000##FFFFFF
##8A17791.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1779;
/* rgb */ color: rgb(138, 23, 121);
/* oklch */ color: oklch(44.4% 0.179 335.3);
Tailwind
colors: {
  custom: {
    50: '#b064a0',
    500: '#8a1779',
    950: '#000000',
  },
}
SCSS
$custom: #8a1779;
$custom-light: #b064a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1779",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 308.87,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44371,
    "c": 0.17928,
    "h": 335.3
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#8A1779
secondary
#3FBE52
accent
#EE543A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1779

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

Preview Lab → · Contrast checker → · Palette generator →

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