#801778#801778

#801778 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.173 H 331.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#801778
RGBrgb(128, 23, 120)
HSLhsl(305, 70%, 30%)
HSVhsv(305, 82%, 50%)
CMYKcmyk(0%, 82%, 6.3%, 49.8%)
CIE-LABlab(30.78, 53.29, -29.85)
CIE-LCHlch(30.78, 61.08, 330.74°)
OKLaboklab(42.64% 0.1526 -0.0823)
OKLCHoklch(42.64% 0.173 331.7)
XYZxyz(12.5987, 6.5591, 18.3682)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801778 #17801F
analogous
#531780 #801778 #801744
triadic
#801778 #788017 #177880
tetradic
#801778 #805317 #17801F #174480
square
#801778 #805317 #17801F #174480
split-complementary
#801778 #448017 #178053
monochromatic
#1A0518 #4C0E47 #801778 #B420A9 #DB36CE

Accessibility & contrast

On white

9.08
#801778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#801778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801778
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801778#FFFFFF#000000##FFFFFF
##8017781.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3F7A
Deuteranopia (green-blind)
#3B4D76
Tritanopia (blue-blind)
#862548
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801778;
/* rgb */ color: rgb(128, 23, 120);
/* oklch */ color: oklch(42.6% 0.173 331.7);
Tailwind
colors: {
  custom: {
    50: '#a8639f',
    500: '#801778',
    950: '#000000',
  },
}
SCSS
$custom: #801778;
$custom-light: #a8639f;
$custom-dark: #000000;
JSON
{
  "hex": "#801778",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 304.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42638,
    "c": 0.1734,
    "h": 331.7
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#801778
secondary
#3EB447
accent
#EC493B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801778

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

Preview Lab → · Contrast checker → · Palette generator →

#801778 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva