#8A1579#8A1579

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

Color values

HEX#8A1579
RGBrgb(138, 21, 121)
HSLhsl(309, 74%, 31%)
HSVhsv(309, 85%, 54%)
CMYKcmyk(0%, 84.8%, 12.3%, 45.9%)
CIE-LABlab(32.53, 56.14, -27.60)
CIE-LCHlch(32.53, 62.56, 333.82°)
OKLaboklab(44.25% 0.1644 -0.0756)
OKLCHoklch(44.25% 0.181 335.3)
XYZxyz(14.2008, 7.3214, 18.7507)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1579 #158A26
analogous
#60158A #8A1579 #8A153E
triadic
#8A1579 #798A15 #15798A
tetradic
#8A1579 #8A6015 #158A26 #153E8A
square
#8A1579 #8A6015 #158A26 #153E8A
split-complementary
#8A1579 #3E8A15 #158A60
monochromatic
#20051C #550D4A #8A1579 #BF1DA8 #E139C8

Accessibility & contrast

On white

8.52
#8A1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1579
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1579#FFFFFF#000000##FFFFFF
##8A15791.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427B
Deuteranopia (green-blind)
#435276
Tritanopia (blue-blind)
#912148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1579;
/* rgb */ color: rgb(138, 21, 121);
/* oklch */ color: oklch(44.3% 0.181 335.3);
Tailwind
colors: {
  custom: {
    50: '#b064a0',
    500: '#8a1579',
    950: '#000000',
  },
}
SCSS
$custom: #8a1579;
$custom-light: #b064a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1579",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 308.718,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.18091,
    "h": 335.3
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#8A1579
secondary
#3DBE50
accent
#F05238
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1579

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

Preview Lab → · Contrast checker → · Palette generator →

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