#801996#801996

#801996 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.195 H 319.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#801996
RGBrgb(128, 25, 150)
HSLhsl(289, 71%, 34%)
HSVhsv(289, 83%, 59%)
CMYKcmyk(14.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(32.89, 57.98, -45.14)
CIE-LCHlch(32.89, 73.48, 322.09°)
OKLaboklab(44.75% 0.1486 -0.1269)
OKLCHoklch(44.75% 0.195 319.5)
XYZxyz(14.7540, 7.4872, 29.5163)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801996 #2F9619
analogous
#421996 #801996 #96196E
triadic
#801996 #968019 #199680
tetradic
#801996 #964219 #2F9619 #196E96
square
#801996 #964219 #2F9619 #196E96
split-complementary
#801996 #6E9619 #199642
monochromatic
#26082D #531062 #801996 #AD22CA #C649E1

Accessibility & contrast

On white

8.41
#801996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#801996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801996
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801996#FFFFFF#000000##FFFFFF
##8019961.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#255193
Tritanopia (blue-blind)
#803659
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801996;
/* rgb */ color: rgb(128, 25, 150);
/* oklch */ color: oklch(44.7% 0.195 319.5);
Tailwind
colors: {
  custom: {
    50: '#a965b5',
    500: '#801996',
    950: '#000000',
  },
}
SCSS
$custom: #801996;
$custom-light: #a965b5;
$custom-dark: #000000;
JSON
{
  "hex": "#801996",
  "rgb": {
    "r": 128,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 289.44,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44746,
    "c": 0.19544,
    "h": 319.5
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#801996
secondary
#5EC249
accent
#EE3A59
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #801996

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

Preview Lab → · Contrast checker → · Palette generator →

#801996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva