#80217E#80217E

#80217E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.168 H 328.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#80217E
RGBrgb(128, 33, 126)
HSLhsl(301, 59%, 32%)
HSVhsv(301, 74%, 50%)
CMYKcmyk(0%, 74.2%, 1.6%, 49.8%)
CIE-LABlab(32.22, 51.15, -31.35)
CIE-LCHlch(32.22, 59.99, 328.50°)
OKLaboklab(43.78% 0.1437 -0.0867)
OKLCHoklch(43.78% 0.168 328.9)
XYZxyz(13.2117, 7.1842, 20.4255)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80217E #218023
analogous
#532180 #80217E #80214F
triadic
#80217E #7E8021 #217E80
tetradic
#80217E #805321 #218023 #214F80
square
#80217E #805321 #218023 #214F80
split-complementary
#80217E #4F8021 #218053
monochromatic
#1F081E #4F144E #80217E #B12EAE #D14BCE

Accessibility & contrast

On white

8.62
#80217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#80217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80217E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80217E#FFFFFF#000000##FFFFFF
##80217E1.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)
#124481
Deuteranopia (green-blind)
#3C507C
Tritanopia (blue-blind)
#842F4D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80217e;
/* rgb */ color: rgb(128, 33, 126);
/* oklch */ color: oklch(43.8% 0.168 328.9);
Tailwind
colors: {
  custom: {
    50: '#a867a4',
    500: '#80217e',
    950: '#000000',
  },
}
SCSS
$custom: #80217e;
$custom-light: #a867a4;
$custom-dark: #000000;
JSON
{
  "hex": "#80217e",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 301.263,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43781,
    "c": 0.16778,
    "h": 328.9
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#80217E
secondary
#4AB34C
accent
#E24946
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80217E

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

Preview Lab → · Contrast checker → · Palette generator →

#80217E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva