#8A1777#8A1777

#8A1777 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.178 H 336.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8A1777
RGBrgb(138, 23, 119)
HSLhsl(310, 71%, 32%)
HSVhsv(310, 83%, 54%)
CMYKcmyk(0%, 83.3%, 13.8%, 45.9%)
CIE-LABlab(32.59, 55.36, -26.24)
CIE-LCHlch(32.59, 61.27, 334.64°)
OKLaboklab(44.26% 0.1628 -0.0716)
OKLCHoklch(44.26% 0.178 336.2)
XYZxyz(14.1177, 7.3493, 18.1242)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1777 #178A2A
analogous
#64178A #8A1777 #8A173E
triadic
#8A1777 #778A17 #17778A
tetradic
#8A1777 #8A6417 #178A2A #173E8A
square
#8A1777 #8A6417 #178A2A #173E8A
split-complementary
#8A1777 #3E8A17 #178A64
monochromatic
#21061D #560E4A #8A1777 #BE20A4 #DF3DC4

Accessibility & contrast

On white

8.50
#8A1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A1777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1777
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1777#FFFFFF#000000##FFFFFF
##8A17771.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194279
Deuteranopia (green-blind)
#455374
Tritanopia (blue-blind)
#922147
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1777;
/* rgb */ color: rgb(138, 23, 119);
/* oklch */ color: oklch(44.3% 0.178 336.2);
Tailwind
colors: {
  custom: {
    50: '#b0649e',
    500: '#8a1777',
    950: '#000000',
  },
}
SCSS
$custom: #8a1777;
$custom-light: #b0649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1777",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 309.913,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4426,
    "c": 0.17789,
    "h": 336.2
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#8A1777
secondary
#3FBE54
accent
#EE573A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1777

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

Preview Lab → · Contrast checker → · Palette generator →

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