#801178#801178

#801178 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.178 H 331.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#801178
RGBrgb(128, 17, 120)
HSLhsl(304, 77%, 28%)
HSVhsv(304, 87%, 50%)
CMYKcmyk(0%, 86.7%, 6.3%, 49.8%)
CIE-LABlab(30.27, 54.77, -30.66)
CIE-LCHlch(30.27, 62.77, 330.76°)
OKLaboklab(42.28% 0.1569 -0.0846)
OKLCHoklch(42.28% 0.178 331.7)
XYZxyz(12.4927, 6.3472, 18.3328)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801178 #118019
analogous
#501180 #801178 #801140
triadic
#801178 #788011 #117880
tetradic
#801178 #805011 #118019 #114080
square
#801178 #805011 #118019 #114080
split-complementary
#801178 #408011 #118050
monochromatic
#1B0419 #4A0A45 #801178 #B618AB #E329D5

Accessibility & contrast

On white

9.25
#801178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#801178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801178
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801178#FFFFFF#000000##FFFFFF
##8011781.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013E7B
Deuteranopia (green-blind)
#394C76
Tritanopia (blue-blind)
#862246
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801178;
/* rgb */ color: rgb(128, 17, 120);
/* oklch */ color: oklch(42.3% 0.178 331.7);
Tailwind
colors: {
  custom: {
    50: '#a9619f',
    500: '#801178',
    950: '#000000',
  },
}
SCSS
$custom: #801178;
$custom-light: #a9619f;
$custom-dark: #000000;
JSON
{
  "hex": "#801178",
  "rgb": {
    "r": 128,
    "g": 17,
    "b": 120
  },
  "hsl": {
    "h": 304.324,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.17828,
    "h": 331.7
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#801178
secondary
#37B640
accent
#F34235
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801178

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

Preview Lab → · Contrast checker → · Palette generator →

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