#8A1E79#8A1E79

#8A1E79 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.173 H 335.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8A1E79
RGBrgb(138, 30, 121)
HSLhsl(309, 64%, 33%)
HSVhsv(309, 78%, 54%)
CMYKcmyk(0%, 78.3%, 12.3%, 45.9%)
CIE-LABlab(33.38, 53.69, -26.26)
CIE-LCHlch(33.38, 59.77, 333.93°)
OKLaboklab(44.86% 0.1571 -0.0718)
OKLCHoklch(44.86% 0.173 335.4)
XYZxyz(14.3969, 7.7136, 18.8161)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E79 #1E8A2F
analogous
#651E8A #8A1E79 #8A1E43
triadic
#8A1E79 #798A1E #1E798A
tetradic
#8A1E79 #8A651E #1E8A2F #1E438A
square
#8A1E79 #8A651E #1E8A2F #1E438A
split-complementary
#8A1E79 #438A1E #1E8A65
monochromatic
#250821 #58134D #8A1E79 #BC29A5 #D84BC2

Accessibility & contrast

On white

8.26
#8A1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E79
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E79#FFFFFF#000000##FFFFFF
##8A1E791.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#465476
Tritanopia (blue-blind)
#91274A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1e79;
/* rgb */ color: rgb(138, 30, 121);
/* oklch */ color: oklch(44.9% 0.173 335.4);
Tailwind
colors: {
  custom: {
    50: '#b067a0',
    500: '#8a1e79',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e79;
$custom-light: #b067a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e79",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 309.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44861,
    "c": 0.1727,
    "h": 335.4
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#8A1E79
secondary
#4ABA5B
accent
#E75B41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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