#8A1A79#8A1A79

#8A1A79 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.177 H 335.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8A1A79
RGBrgb(138, 26, 121)
HSLhsl(309, 68%, 32%)
HSVhsv(309, 81%, 54%)
CMYKcmyk(0%, 81.2%, 12.3%, 45.9%)
CIE-LABlab(32.97, 54.86, -26.91)
CIE-LCHlch(32.97, 61.10, 333.88°)
OKLaboklab(44.57% 0.1606 -0.0736)
OKLCHoklch(44.57% 0.177 335.4)
XYZxyz(14.3020, 7.5239, 18.7845)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A79 #1A8A2B
analogous
#631A8A #8A1A79 #8A1A41
triadic
#8A1A79 #798A1A #1A798A
tetradic
#8A1A79 #8A631A #1A8A2B #1A418A
square
#8A1A79 #8A631A #1A8A2B #1A418A
split-complementary
#8A1A79 #418A1A #1A8A63
monochromatic
#23071F #57104C #8A1A79 #BD24A6 #DC43C4

Accessibility & contrast

On white

8.38
#8A1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A1A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A79
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A79#FFFFFF#000000##FFFFFF
##8A1A791.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#455376
Tritanopia (blue-blind)
#912449
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1a79;
/* rgb */ color: rgb(138, 26, 121);
/* oklch */ color: oklch(44.6% 0.177 335.4);
Tailwind
colors: {
  custom: {
    50: '#b065a0',
    500: '#8a1a79',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a79;
$custom-light: #b065a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a79",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 309.107,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44568,
    "c": 0.17663,
    "h": 335.4
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#8A1A79
secondary
#43BD56
accent
#EB573D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1A79

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

Preview Lab → · Contrast checker → · Palette generator →

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