#80218C#80218C

#80218C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.179 H 323.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#80218C
RGBrgb(128, 33, 140)
HSLhsl(293, 62%, 34%)
HSVhsv(293, 76%, 55%)
CMYKcmyk(8.6%, 76.4%, 0%, 45.1%)
CIE-LABlab(33.07, 53.66, -38.70)
CIE-LCHlch(33.07, 66.16, 324.20°)
OKLaboklab(44.66% 0.1432 -0.1081)
OKLCHoklch(44.66% 0.179 323)
XYZxyz(14.1791, 7.5712, 25.5204)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80218C #2D8C21
analogous
#4B218C #80218C #8C2163
triadic
#80218C #8C8021 #218C80
tetradic
#80218C #8C4B21 #2D8C21 #21638C
square
#80218C #8C4B21 #2D8C21 #21638C
split-complementary
#80218C #638C21 #218C4B
monochromatic
#250A29 #53155A #80218C #AD2DBE #C751D6

Accessibility & contrast

On white

8.35
#80218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#80218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80218C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80218C#FFFFFF#000000##FFFFFF
##80218C1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#33518A
Tritanopia (blue-blind)
#823555
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80218c;
/* rgb */ color: rgb(128, 33, 140);
/* oklch */ color: oklch(44.7% 0.179 323.0);
Tailwind
colors: {
  custom: {
    50: '#a867ae',
    500: '#80218c',
    950: '#000000',
  },
}
SCSS
$custom: #80218c;
$custom-light: #a867ae;
$custom-dark: #000000;
JSON
{
  "hex": "#80218c",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 293.271,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.17946,
    "h": 323
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#80218C
secondary
#5BB94F
accent
#E54355
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80218C

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

Preview Lab → · Contrast checker → · Palette generator →

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