#801D97#801D97

#801D97 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.193 H 319.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#801D97
RGBrgb(128, 29, 151)
HSLhsl(289, 68%, 35%)
HSVhsv(289, 81%, 59%)
CMYKcmyk(15.2%, 80.8%, 0%, 40.8%)
CIE-LABlab(33.36, 57.02, -45.00)
CIE-LCHlch(33.36, 72.64, 321.71°)
OKLaboklab(45.1% 0.1455 -0.1265)
OKLCHoklch(45.1% 0.193 319)
XYZxyz(14.9266, 7.7030, 29.9727)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D97 #34971D
analogous
#431D97 #801D97 #971D71
triadic
#801D97 #97801D #1D9780
tetradic
#801D97 #97431D #34971D #1D7197
square
#801D97 #97431D #34971D #1D7197
split-complementary
#801D97 #71971D #1D9743
monochromatic
#290930 #541364 #801D97 #AC27CA #C351DE

Accessibility & contrast

On white

8.27
#801D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#801D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801D97
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D97#FFFFFF#000000##FFFFFF
##801D971.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#265294
Tritanopia (blue-blind)
#80385B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #801d97;
/* rgb */ color: rgb(128, 29, 151);
/* oklch */ color: oklch(45.1% 0.193 319.0);
Tailwind
colors: {
  custom: {
    50: '#a966b6',
    500: '#801d97',
    950: '#000000',
  },
}
SCSS
$custom: #801d97;
$custom-light: #a966b6;
$custom-dark: #000000;
JSON
{
  "hex": "#801d97",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 288.689,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.1928,
    "h": 319
  },
  "luminance": 0.07702
}

Semantic roles & 50–950 ramp

primary
#801D97
secondary
#65C04F
accent
#EB3D5E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #801D97

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

Preview Lab → · Contrast checker → · Palette generator →

#801D97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva