#80217F#80217F

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

Color values

HEX#80217F
RGBrgb(128, 33, 127)
HSLhsl(301, 59%, 32%)
HSVhsv(301, 74%, 50%)
CMYKcmyk(0%, 74.2%, 0.8%, 49.8%)
CIE-LABlab(32.28, 51.32, -31.88)
CIE-LCHlch(32.28, 60.42, 328.15°)
OKLaboklab(43.84% 0.1437 -0.0882)
OKLCHoklch(43.84% 0.169 328.4)
XYZxyz(13.2766, 7.2102, 20.7670)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80217F #218022
analogous
#522180 #80217F #802150
triadic
#80217F #7F8021 #217F80
tetradic
#80217F #805221 #218022 #215080
square
#80217F #805221 #218022 #215080
split-complementary
#80217F #508021 #218052
monochromatic
#1F081E #4F144F #80217F #B12EAF #D14BCF

Accessibility & contrast

On white

8.60
#80217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80217F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80217F#FFFFFF#000000##FFFFFF
##80217F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114482
Deuteranopia (green-blind)
#3B507D
Tritanopia (blue-blind)
#842F4E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80217f;
/* rgb */ color: rgb(128, 33, 127);
/* oklch */ color: oklch(43.8% 0.169 328.4);
Tailwind
colors: {
  custom: {
    50: '#a867a4',
    500: '#80217f',
    950: '#000000',
  },
}
SCSS
$custom: #80217f;
$custom-light: #a867a4;
$custom-dark: #000000;
JSON
{
  "hex": "#80217f",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 300.632,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43841,
    "c": 0.1686,
    "h": 328.4
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#80217F
secondary
#4AB34B
accent
#E24746
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80217F

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

Preview Lab → · Contrast checker → · Palette generator →

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