#8A1678#8A1678

#8A1678 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.179 H 335.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8A1678
RGBrgb(138, 22, 120)
HSLhsl(309, 73%, 31%)
HSVhsv(309, 84%, 54%)
CMYKcmyk(0%, 84.1%, 13%, 45.9%)
CIE-LABlab(32.56, 55.76, -26.93)
CIE-LCHlch(32.56, 61.92, 334.22°)
OKLaboklab(44.25% 0.1636 -0.0736)
OKLCHoklch(44.25% 0.179 335.8)
XYZxyz(14.1585, 7.3345, 18.4357)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1678 #168A28
analogous
#62168A #8A1678 #8A163E
triadic
#8A1678 #788A16 #16788A
tetradic
#8A1678 #8A6216 #168A28 #163E8A
square
#8A1678 #8A6216 #168A28 #163E8A
split-complementary
#8A1678 #3E8A16 #168A62
monochromatic
#20051C #550E4A #8A1678 #BF1EA6 #E03BC6

Accessibility & contrast

On white

8.51
#8A1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A1678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1678
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1678#FFFFFF#000000##FFFFFF
##8A16781.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427A
Deuteranopia (green-blind)
#445375
Tritanopia (blue-blind)
#912147
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1678;
/* rgb */ color: rgb(138, 22, 120);
/* oklch */ color: oklch(44.3% 0.179 335.8);
Tailwind
colors: {
  custom: {
    50: '#b0649f',
    500: '#8a1678',
    950: '#000000',
  },
}
SCSS
$custom: #8a1678;
$custom-light: #b0649f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1678",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 309.31,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.17942,
    "h": 335.8
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#8A1678
secondary
#3EBE52
accent
#EF5539
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1678

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

Preview Lab → · Contrast checker → · Palette generator →

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