#8A1C79#8A1C79

#8A1C79 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.175 H 335.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8A1C79
RGBrgb(138, 28, 121)
HSLhsl(309, 66%, 33%)
HSVhsv(309, 80%, 54%)
CMYKcmyk(0%, 79.7%, 12.3%, 45.9%)
CIE-LABlab(33.17, 54.29, -26.59)
CIE-LCHlch(33.17, 60.46, 333.90°)
OKLaboklab(44.71% 0.1589 -0.0727)
OKLCHoklch(44.71% 0.175 335.4)
XYZxyz(14.3479, 7.6156, 18.7998)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C79 #1C8A2D
analogous
#641C8A #8A1C79 #8A1C42
triadic
#8A1C79 #798A1C #1C798A
tetradic
#8A1C79 #8A641C #1C8A2D #1C428A
square
#8A1C79 #8A641C #1C8A2D #1C428A
split-complementary
#8A1C79 #428A1C #1C8A64
monochromatic
#240720 #57124C #8A1C79 #BD26A6 #DA47C3

Accessibility & contrast

On white

8.32
#8A1C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A1C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C79
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C79#FFFFFF#000000##FFFFFF
##8A1C791.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447B
Deuteranopia (green-blind)
#455476
Tritanopia (blue-blind)
#912649
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1c79;
/* rgb */ color: rgb(138, 28, 121);
/* oklch */ color: oklch(44.7% 0.175 335.4);
Tailwind
colors: {
  custom: {
    50: '#b066a0',
    500: '#8a1c79',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c79;
$custom-light: #b066a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c79",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 309.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.17472,
    "h": 335.4
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#8A1C79
secondary
#46BB58
accent
#E9593F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1C79

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

Preview Lab → · Contrast checker → · Palette generator →

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