#801E9D#801E9D

#801E9D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.197 H 316.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#801E9D
RGBrgb(128, 30, 157)
HSLhsl(286, 68%, 37%)
HSVhsv(286, 81%, 62%)
CMYKcmyk(18.5%, 80.9%, 0%, 38.4%)
CIE-LABlab(33.88, 57.87, -47.81)
CIE-LCHlch(33.88, 75.06, 320.44°)
OKLaboklab(45.6% 0.1437 -0.1348)
OKLCHoklch(45.6% 0.197 316.8)
XYZxyz(15.4512, 7.9527, 32.6129)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801E9D #3B9D1E
analogous
#411E9D #801E9D #9D1E7B
triadic
#801E9D #9D801E #1E9D80
tetradic
#801E9D #9D411E #3B9D1E #1E7B9D
square
#801E9D #9D411E #3B9D1E #1E7B9D
split-complementary
#801E9D #7B9D1E #1E9D41
monochromatic
#2C0A36 #56146A #801E9D #AA28D0 #C057DF

Accessibility & contrast

On white

8.11
#801E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#801E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801E9D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801E9D#FFFFFF#000000##FFFFFF
##801E9D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#1F529A
Tritanopia (blue-blind)
#7E3C5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #801e9d;
/* rgb */ color: rgb(128, 30, 157);
/* oklch */ color: oklch(45.6% 0.197 316.8);
Tailwind
colors: {
  custom: {
    50: '#a967bb',
    500: '#801e9d',
    950: '#000000',
  },
}
SCSS
$custom: #801e9d;
$custom-light: #a967bb;
$custom-dark: #000000;
JSON
{
  "hex": "#801e9d",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 286.299,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.197,
    "h": 316.8
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#801E9D
secondary
#6EC254
accent
#EB3D65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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