#801E78#801E78

#801E78 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.166 H 331.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#801E78
RGBrgb(128, 30, 120)
HSLhsl(305, 62%, 31%)
HSVhsv(305, 77%, 50%)
CMYKcmyk(0%, 76.6%, 6.3%, 49.8%)
CIE-LABlab(31.52, 51.17, -28.68)
CIE-LCHlch(31.52, 58.66, 330.73°)
OKLaboklab(43.17% 0.1465 -0.079)
OKLCHoklch(43.17% 0.166 331.7)
XYZxyz(12.7565, 6.8748, 18.4208)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801E78 #1E8026
analogous
#571E80 #801E78 #801E47
triadic
#801E78 #78801E #1E7880
tetradic
#801E78 #80571E #1E8026 #1E4780
square
#801E78 #80571E #1E8026 #1E4780
split-complementary
#801E78 #47801E #1E8057
monochromatic
#1D071B #4E124A #801E78 #B22AA6 #D345C8

Accessibility & contrast

On white

8.84
#801E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#801E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801E78
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801E78#FFFFFF#000000##FFFFFF
##801E781.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16417A
Deuteranopia (green-blind)
#3E4F76
Tritanopia (blue-blind)
#852A49
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801e78;
/* rgb */ color: rgb(128, 30, 120);
/* oklch */ color: oklch(43.2% 0.166 331.7);
Tailwind
colors: {
  custom: {
    50: '#a8659f',
    500: '#801e78',
    950: '#000000',
  },
}
SCSS
$custom: #801e78;
$custom-light: #a8659f;
$custom-dark: #000000;
JSON
{
  "hex": "#801e78",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 304.898,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43167,
    "c": 0.1664,
    "h": 331.7
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#801E78
secondary
#47B350
accent
#E55043
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801E78

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

Preview Lab → · Contrast checker → · Palette generator →

#801E78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva