#801F96#801F96

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

Color values

HEX#801F96
RGBrgb(128, 31, 150)
HSLhsl(289, 66%, 35%)
HSVhsv(289, 79%, 59%)
CMYKcmyk(14.7%, 79.3%, 0%, 41.2%)
CIE-LABlab(33.50, 56.20, -44.16)
CIE-LCHlch(33.50, 71.47, 321.84°)
OKLaboklab(45.18% 0.144 -0.1241)
OKLCHoklch(45.18% 0.19 319.2)
XYZxyz(14.8964, 7.7719, 29.5637)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F96 #35961F
analogous
#451F96 #801F96 #961F70
triadic
#801F96 #96801F #1F9680
tetradic
#801F96 #96451F #35961F #1F7096
square
#801F96 #96451F #35961F #1F7096
split-complementary
#801F96 #70961F #1F9645
monochromatic
#290A31 #551563 #801F96 #AB29C9 #C354DC

Accessibility & contrast

On white

8.22
#801F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#801F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F96
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F96#FFFFFF#000000##FFFFFF
##801F961.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#285293
Tritanopia (blue-blind)
#80395A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #801f96;
/* rgb */ color: rgb(128, 31, 150);
/* oklch */ color: oklch(45.2% 0.190 319.2);
Tailwind
colors: {
  custom: {
    50: '#a967b5',
    500: '#801f96',
    950: '#000000',
  },
}
SCSS
$custom: #801f96;
$custom-light: #a967b5;
$custom-dark: #000000;
JSON
{
  "hex": "#801f96",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 288.908,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.19005,
    "h": 319.2
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#801F96
secondary
#66BF52
accent
#E93F5E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #801F96

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

Preview Lab → · Contrast checker → · Palette generator →

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