#801E9E#801E9E

#801E9E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.198 H 316.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#801E9E
RGBrgb(128, 30, 158)
HSLhsl(286, 68%, 37%)
HSVhsv(286, 81%, 62%)
CMYKcmyk(19%, 81%, 0%, 38%)
CIE-LABlab(33.96, 58.06, -48.30)
CIE-LCHlch(33.96, 75.52, 320.24°)
OKLaboklab(45.67% 0.1435 -0.1362)
OKLCHoklch(45.67% 0.198 316.5)
XYZxyz(15.5370, 7.9870, 33.0644)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801E9E #3C9E1E
analogous
#401E9E #801E9E #9E1E7C
triadic
#801E9E #9E801E #1E9E80
tetradic
#801E9E #9E401E #3C9E1E #1E7C9E
square
#801E9E #9E401E #3C9E1E #1E7C9E
split-complementary
#801E9E #7C9E1E #1E9E40
monochromatic
#2D0A37 #56146B #801E9E #AA28D1 #BF57DF

Accessibility & contrast

On white

8.09
#801E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#801E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801E9E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801E9E#FFFFFF#000000##FFFFFF
##801E9E1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#1D529B
Tritanopia (blue-blind)
#7E3C5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #801e9e;
/* rgb */ color: rgb(128, 30, 158);
/* oklch */ color: oklch(45.7% 0.198 316.5);
Tailwind
colors: {
  custom: {
    50: '#a967bb',
    500: '#801e9e',
    950: '#000000',
  },
}
SCSS
$custom: #801e9e;
$custom-light: #a967bb;
$custom-dark: #000000;
JSON
{
  "hex": "#801e9e",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 285.938,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.19787,
    "h": 316.5
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#801E9E
secondary
#6FC355
accent
#EB3D66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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