#80217D#80217D

#80217D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.167 H 329.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#80217D
RGBrgb(128, 33, 125)
HSLhsl(302, 59%, 32%)
HSVhsv(302, 74%, 50%)
CMYKcmyk(0%, 74.2%, 2.3%, 49.8%)
CIE-LABlab(32.17, 50.98, -30.81)
CIE-LCHlch(32.17, 59.56, 328.85°)
OKLaboklab(43.72% 0.1436 -0.0851)
OKLCHoklch(43.72% 0.167 329.3)
XYZxyz(13.1475, 7.1586, 20.0873)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80217D #218024
analogous
#542180 #80217D #80214E
triadic
#80217D #7D8021 #217D80
tetradic
#80217D #805421 #218024 #214E80
square
#80217D #805421 #218024 #214E80
split-complementary
#80217D #4E8021 #218054
monochromatic
#1F081E #4F144D #80217D #B12EAD #D14BCC

Accessibility & contrast

On white

8.64
#80217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#80217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80217D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80217D#FFFFFF#000000##FFFFFF
##80217D1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#852E4D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80217d;
/* rgb */ color: rgb(128, 33, 125);
/* oklch */ color: oklch(43.7% 0.167 329.3);
Tailwind
colors: {
  custom: {
    50: '#a867a3',
    500: '#80217d',
    950: '#000000',
  },
}
SCSS
$custom: #80217d;
$custom-light: #a867a3;
$custom-dark: #000000;
JSON
{
  "hex": "#80217d",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 301.895,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43721,
    "c": 0.16698,
    "h": 329.3
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#80217D
secondary
#4AB34D
accent
#E24B46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80217D

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

Preview Lab → · Contrast checker → · Palette generator →

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