#80217B#80217B

#80217B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.165 H 330.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#80217B
RGBrgb(128, 33, 123)
HSLhsl(303, 59%, 32%)
HSVhsv(303, 74%, 50%)
CMYKcmyk(0%, 74.2%, 3.9%, 49.8%)
CIE-LABlab(32.05, 50.64, -29.73)
CIE-LCHlch(32.05, 58.72, 329.58°)
OKLaboklab(43.6% 0.1436 -0.082)
OKLCHoklch(43.6% 0.165 330.3)
XYZxyz(13.0210, 7.1080, 19.4212)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80217B #218026
analogous
#562180 #80217B #80214C
triadic
#80217B #7B8021 #217B80
tetradic
#80217B #805621 #218026 #214C80
square
#80217B #805621 #218026 #214C80
split-complementary
#80217B #4C8021 #218056
monochromatic
#1F081D #4F144C #80217B #B12EAA #D14BCA

Accessibility & contrast

On white

8.67
#80217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#80217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80217B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80217B#FFFFFF#000000##FFFFFF
##80217B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#3D5079
Tritanopia (blue-blind)
#852D4C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #80217b;
/* rgb */ color: rgb(128, 33, 123);
/* oklch */ color: oklch(43.6% 0.165 330.3);
Tailwind
colors: {
  custom: {
    50: '#a867a1',
    500: '#80217b',
    950: '#000000',
  },
}
SCSS
$custom: #80217b;
$custom-light: #a867a1;
$custom-dark: #000000;
JSON
{
  "hex": "#80217b",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 303.158,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43602,
    "c": 0.16536,
    "h": 330.3
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#80217B
secondary
#4AB350
accent
#E24E46
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80217B

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

Preview Lab → · Contrast checker → · Palette generator →

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