#80178F#80178F

#80178F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.191 H 322.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#80178F
RGBrgb(128, 23, 143)
HSLhsl(293, 72%, 33%)
HSVhsv(293, 84%, 56%)
CMYKcmyk(10.5%, 83.9%, 0%, 43.9%)
CIE-LABlab(32.23, 57.22, -41.91)
CIE-LCHlch(32.23, 70.93, 323.78°)
OKLaboklab(44.13% 0.1511 -0.1174)
OKLCHoklch(44.13% 0.191 322.1)
XYZxyz(14.1659, 7.1860, 26.6222)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80178F #268F17
analogous
#44178F #80178F #8F1762
triadic
#80178F #8F8017 #178F80
tetradic
#80178F #8F4417 #268F17 #17628F
square
#80178F #8F4417 #268F17 #17628F
split-complementary
#80178F #628F17 #178F44
monochromatic
#220626 #510F5A #80178F #AF1FC4 #CC40E0

Accessibility & contrast

On white

8.62
#80178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#80178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80178F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80178F#FFFFFF#000000##FFFFFF
##80178F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#2B508C
Tritanopia (blue-blind)
#813255
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80178f;
/* rgb */ color: rgb(128, 23, 143);
/* oklch */ color: oklch(44.1% 0.191 322.1);
Tailwind
colors: {
  custom: {
    50: '#a964b0',
    500: '#80178f',
    950: '#000000',
  },
}
SCSS
$custom: #80178f;
$custom-light: #a964b0;
$custom-dark: #000000;
JSON
{
  "hex": "#80178f",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 292.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44126,
    "c": 0.19136,
    "h": 322.1
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#80178F
secondary
#51C141
accent
#EF3950
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #80178F

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

Preview Lab → · Contrast checker → · Palette generator →

#80178F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva