#8A1D79#8A1D79

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

Color values

HEX#8A1D79
RGBrgb(138, 29, 121)
HSLhsl(309, 65%, 33%)
HSVhsv(309, 79%, 54%)
CMYKcmyk(0%, 79%, 12.3%, 45.9%)
CIE-LABlab(33.27, 53.99, -26.43)
CIE-LCHlch(33.27, 60.12, 333.92°)
OKLaboklab(44.78% 0.158 -0.0722)
OKLCHoklch(44.78% 0.174 335.4)
XYZxyz(14.3720, 7.6638, 18.8078)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D79 #1D8A2E
analogous
#641D8A #8A1D79 #8A1D42
triadic
#8A1D79 #798A1D #1D798A
tetradic
#8A1D79 #8A641D #1D8A2E #1D428A
square
#8A1D79 #8A641D #1D8A2E #1D428A
split-complementary
#8A1D79 #428A1D #1D8A64
monochromatic
#250820 #57124D #8A1D79 #BD28A5 #D949C2

Accessibility & contrast

On white

8.29
#8A1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D79
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D79#FFFFFF#000000##FFFFFF
##8A1D791.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#455476
Tritanopia (blue-blind)
#91264A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1d79;
/* rgb */ color: rgb(138, 29, 121);
/* oklch */ color: oklch(44.8% 0.174 335.4);
Tailwind
colors: {
  custom: {
    50: '#b066a0',
    500: '#8a1d79',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d79;
$custom-light: #b066a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d79",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 309.358,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44784,
    "c": 0.17373,
    "h": 335.4
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#8A1D79
secondary
#48BB5A
accent
#E85A40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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