#801E9A#801E9A

#801E9A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.194 H 317.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#801E9A
RGBrgb(128, 30, 154)
HSLhsl(287, 67%, 36%)
HSVhsv(287, 81%, 60%)
CMYKcmyk(16.9%, 80.5%, 0%, 39.6%)
CIE-LABlab(33.67, 57.28, -46.33)
CIE-LCHlch(33.67, 73.67, 321.04°)
OKLaboklab(45.38% 0.1442 -0.1304)
OKLCHoklch(45.38% 0.194 317.9)
XYZxyz(15.1983, 7.8515, 31.2805)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801E9A #389A1E
analogous
#421E9A #801E9A #9A1E76
triadic
#801E9A #9A801E #1E9A80
tetradic
#801E9A #9A421E #389A1E #1E769A
square
#801E9A #9A421E #389A1E #1E769A
split-complementary
#801E9A #769A1E #1E9A42
monochromatic
#2B0A34 #551467 #801E9A #AB28CD #C155DE

Accessibility & contrast

On white

8.17
#801E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#801E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801E9A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801E9A#FFFFFF#000000##FFFFFF
##801E9A1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#7F3A5C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #801e9a;
/* rgb */ color: rgb(128, 30, 154);
/* oklch */ color: oklch(45.4% 0.194 317.9);
Tailwind
colors: {
  custom: {
    50: '#a967b8',
    500: '#801e9a',
    950: '#000000',
  },
}
SCSS
$custom: #801e9a;
$custom-light: #a967b8;
$custom-dark: #000000;
JSON
{
  "hex": "#801e9a",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 287.419,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.19443,
    "h": 317.9
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#801E9A
secondary
#6AC153
accent
#EA3E62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #801E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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