#801A9E#801A9E

#801A9E is a mid, highly saturated purple. Relative luminance 0.078; OKLCH L 45.4% C 0.201 H 316.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#801A9E
RGBrgb(128, 26, 158)
HSLhsl(286, 72%, 36%)
HSVhsv(286, 84%, 62%)
CMYKcmyk(19%, 83.5%, 0%, 38%)
CIE-LABlab(33.56, 59.22, -48.94)
CIE-LCHlch(33.56, 76.83, 320.43°)
OKLaboklab(45.39% 0.1465 -0.1381)
OKLCHoklch(45.39% 0.201 316.7)
XYZxyz(15.4421, 7.7973, 33.0327)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801A9E #389E1A
analogous
#3E1A9E #801A9E #9E1A7A
triadic
#801A9E #9E801A #1A9E80
tetradic
#801A9E #9E3E1A #389E1A #1A7A9E
square
#801A9E #9E3E1A #389E1A #1A7A9E
split-complementary
#801A9E #7A9E1A #1A9E3E
monochromatic
#2B0935 #551169 #801A9E #AB23D3 #C150E2

Accessibility & contrast

On white

8.21
#801A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801A9E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801A9E#FFFFFF#000000##FFFFFF
##801A9E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#1A529B
Tritanopia (blue-blind)
#7E3B5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #801a9e;
/* rgb */ color: rgb(128, 26, 158);
/* oklch */ color: oklch(45.4% 0.201 316.7);
Tailwind
colors: {
  custom: {
    50: '#a966bb',
    500: '#801a9e',
    950: '#000000',
  },
}
SCSS
$custom: #801a9e;
$custom-light: #a966bb;
$custom-dark: #000000;
JSON
{
  "hex": "#801a9e",
  "rgb": {
    "r": 128,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 286.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45394,
    "c": 0.20129,
    "h": 316.7
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#801A9E
secondary
#6AC54F
accent
#EE3962
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #801A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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