#801C97#801C97

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

Color values

HEX#801C97
RGBrgb(128, 28, 151)
HSLhsl(289, 69%, 35%)
HSVhsv(289, 81%, 59%)
CMYKcmyk(15.2%, 81.5%, 0%, 40.8%)
CIE-LABlab(33.25, 57.32, -45.17)
CIE-LCHlch(33.25, 72.98, 321.76°)
OKLaboklab(45.02% 0.1462 -0.127)
OKLCHoklch(45.02% 0.194 319)
XYZxyz(14.9025, 7.6548, 29.9647)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C97 #33971C
analogous
#421C97 #801C97 #971C71
triadic
#801C97 #97801C #1C9780
tetradic
#801C97 #97421C #33971C #1C7197
square
#801C97 #97421C #33971C #1C7197
split-complementary
#801C97 #71971C #1C9742
monochromatic
#280930 #541263 #801C97 #AC26CB #C44FDE

Accessibility & contrast

On white

8.30
#801C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#801C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801C97
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C97#FFFFFF#000000##FFFFFF
##801C971.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801c97;
/* rgb */ color: rgb(128, 28, 151);
/* oklch */ color: oklch(45.0% 0.194 319.0);
Tailwind
colors: {
  custom: {
    50: '#a966b6',
    500: '#801c97',
    950: '#000000',
  },
}
SCSS
$custom: #801c97;
$custom-light: #a966b6;
$custom-dark: #000000;
JSON
{
  "hex": "#801c97",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 288.78,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45023,
    "c": 0.1937,
    "h": 319
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#801C97
secondary
#63C14E
accent
#EC3C5D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #801C97

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

Preview Lab → · Contrast checker → · Palette generator →

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