#8A1577#8A1577

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

Color values

HEX#8A1577
RGBrgb(138, 21, 119)
HSLhsl(310, 74%, 31%)
HSVhsv(310, 85%, 54%)
CMYKcmyk(0%, 84.8%, 13.8%, 45.9%)
CIE-LABlab(32.42, 55.85, -26.51)
CIE-LCHlch(32.42, 61.82, 334.61°)
OKLaboklab(44.14% 0.1643 -0.0724)
OKLCHoklch(44.14% 0.18 336.2)
XYZxyz(14.0794, 7.2729, 18.1115)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1577 #158A28
analogous
#62158A #8A1577 #8A153C
triadic
#8A1577 #778A15 #15778A
tetradic
#8A1577 #8A6215 #158A28 #153C8A
square
#8A1577 #8A6215 #158A28 #153C8A
split-complementary
#8A1577 #3C8A15 #158A62
monochromatic
#20051B #550D49 #8A1577 #BF1DA5 #E139C5

Accessibility & contrast

On white

8.56
#8A1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A1577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1577
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1577#FFFFFF#000000##FFFFFF
##8A15771.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174179
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#922047
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1577;
/* rgb */ color: rgb(138, 21, 119);
/* oklch */ color: oklch(44.1% 0.180 336.2);
Tailwind
colors: {
  custom: {
    50: '#b0649e',
    500: '#8a1577',
    950: '#000000',
  },
}
SCSS
$custom: #8a1577;
$custom-light: #b0649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1577",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 309.744,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44139,
    "c": 0.17953,
    "h": 336.2
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#8A1577
secondary
#3DBE52
accent
#F05638
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1577

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

Preview Lab → · Contrast checker → · Palette generator →

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