#80217C#80217C

#80217C is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.166 H 329.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#80217C
RGBrgb(128, 33, 124)
HSLhsl(303, 59%, 32%)
HSVhsv(303, 74%, 50%)
CMYKcmyk(0%, 74.2%, 3.1%, 49.8%)
CIE-LABlab(32.11, 50.81, -30.27)
CIE-LCHlch(32.11, 59.14, 329.21°)
OKLaboklab(43.66% 0.1436 -0.0836)
OKLCHoklch(43.66% 0.166 329.8)
XYZxyz(13.0840, 7.1331, 19.7526)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80217C #218025
analogous
#552180 #80217C #80214D
triadic
#80217C #7C8021 #217C80
tetradic
#80217C #805521 #218025 #214D80
square
#80217C #805521 #218025 #214D80
split-complementary
#80217C #4D8021 #218055
monochromatic
#1F081E #4F144D #80217C #B12EAB #D14BCB

Accessibility & contrast

On white

8.65
#80217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80217C
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80217C#FFFFFF#000000##FFFFFF
##80217C1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437F
Deuteranopia (green-blind)
#3D507A
Tritanopia (blue-blind)
#852E4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80217c;
/* rgb */ color: rgb(128, 33, 124);
/* oklch */ color: oklch(43.7% 0.166 329.8);
Tailwind
colors: {
  custom: {
    50: '#a867a2',
    500: '#80217c',
    950: '#000000',
  },
}
SCSS
$custom: #80217c;
$custom-light: #a867a2;
$custom-dark: #000000;
JSON
{
  "hex": "#80217c",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 302.526,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43661,
    "c": 0.16616,
    "h": 329.8
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#80217C
secondary
#4AB34F
accent
#E24C46
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80217C

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

Preview Lab → · Contrast checker → · Palette generator →

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