#80177F#80177F

#80177F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.179 H 328.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#80177F
RGBrgb(128, 23, 127)
HSLhsl(301, 70%, 30%)
HSVhsv(301, 82%, 50%)
CMYKcmyk(0%, 82%, 0.8%, 49.8%)
CIE-LABlab(31.20, 54.44, -33.60)
CIE-LCHlch(31.20, 63.98, 328.31°)
OKLaboklab(43.07% 0.1525 -0.0932)
OKLCHoklch(43.07% 0.179 328.6)
XYZxyz(13.0391, 6.7353, 20.6878)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80177F #178018
analogous
#4C1780 #80177F #80174B
triadic
#80177F #7F8017 #177F80
tetradic
#80177F #804C17 #178018 #174B80
square
#80177F #804C17 #178018 #174B80
split-complementary
#80177F #4B8017 #17804C
monochromatic
#1A051A #4C0E4C #80177F #B420B2 #DB36D9

Accessibility & contrast

On white

8.95
#80177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#80177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80177F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80177F#FFFFFF#000000##FFFFFF
##80177F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#374E7D
Tritanopia (blue-blind)
#84294C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #80177f;
/* rgb */ color: rgb(128, 23, 127);
/* oklch */ color: oklch(43.1% 0.179 328.6);
Tailwind
colors: {
  custom: {
    50: '#a863a4',
    500: '#80177f',
    950: '#000000',
  },
}
SCSS
$custom: #80177f;
$custom-light: #a863a4;
$custom-dark: #000000;
JSON
{
  "hex": "#80177f",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 300.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.43068,
    "c": 0.17872,
    "h": 328.6
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#80177F
secondary
#3EB43F
accent
#EC3D3B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80177F

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

Preview Lab → · Contrast checker → · Palette generator →

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