#801F97#801F97

#801F97 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.191 H 318.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#801F97
RGBrgb(128, 31, 151)
HSLhsl(289, 66%, 36%)
HSVhsv(289, 79%, 59%)
CMYKcmyk(15.2%, 79.5%, 0%, 40.8%)
CIE-LABlab(33.57, 56.39, -44.66)
CIE-LCHlch(33.57, 71.93, 321.62°)
OKLaboklab(45.25% 0.1438 -0.1255)
OKLCHoklch(45.25% 0.191 318.9)
XYZxyz(14.9772, 7.8043, 29.9896)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F97 #36971F
analogous
#441F97 #801F97 #971F72
triadic
#801F97 #97801F #1F9780
tetradic
#801F97 #97441F #36971F #1F7297
square
#801F97 #97441F #36971F #1F7297
split-complementary
#801F97 #72971F #1F9744
monochromatic
#2A0A31 #551564 #801F97 #AB29CA #C254DC

Accessibility & contrast

On white

8.20
#801F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#801F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F97
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F97#FFFFFF#000000##FFFFFF
##801F971.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#275294
Tritanopia (blue-blind)
#80395B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #801f97;
/* rgb */ color: rgb(128, 31, 151);
/* oklch */ color: oklch(45.2% 0.191 318.9);
Tailwind
colors: {
  custom: {
    50: '#a967b6',
    500: '#801f97',
    950: '#000000',
  },
}
SCSS
$custom: #801f97;
$custom-light: #a967b6;
$custom-dark: #000000;
JSON
{
  "hex": "#801f97",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 288.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.19091,
    "h": 318.9
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#801F97
secondary
#67BF52
accent
#E93F5F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #801F97

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

Preview Lab → · Contrast checker → · Palette generator →

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