#8A1479#8A1479

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

Color values

HEX#8A1479
RGBrgb(138, 20, 121)
HSLhsl(309, 75%, 31%)
HSVhsv(309, 86%, 54%)
CMYKcmyk(0%, 85.5%, 12.3%, 45.9%)
CIE-LABlab(32.45, 56.38, -27.73)
CIE-LCHlch(32.45, 62.83, 333.81°)
OKLaboklab(44.19% 0.1651 -0.0759)
OKLCHoklch(44.19% 0.182 335.3)
XYZxyz(14.1828, 7.2854, 18.7447)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1479 #148A25
analogous
#60148A #8A1479 #8A143E
triadic
#8A1479 #798A14 #14798A
tetradic
#8A1479 #8A6014 #148A25 #143E8A
square
#8A1479 #8A6014 #148A25 #143E8A
split-complementary
#8A1479 #3E8A14 #148A60
monochromatic
#1F051B #550C4A #8A1479 #BF1CA8 #E236C9

Accessibility & contrast

On white

8.55
#8A1479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1479
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1479#FFFFFF#000000##FFFFFF
##8A14791.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417C
Deuteranopia (green-blind)
#435276
Tritanopia (blue-blind)
#912048
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1479;
/* rgb */ color: rgb(138, 20, 121);
/* oklch */ color: oklch(44.2% 0.182 335.3);
Tailwind
colors: {
  custom: {
    50: '#b063a0',
    500: '#8a1479',
    950: '#000000',
  },
}
SCSS
$custom: #8a1479;
$custom-light: #b063a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1479",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 308.644,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44194,
    "c": 0.18169,
    "h": 335.3
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#8A1479
secondary
#3CBE4E
accent
#F15136
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1479

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

Preview Lab → · Contrast checker → · Palette generator →

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