#801E9F#801E9F

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

Color values

HEX#801E9F
RGBrgb(128, 30, 159)
HSLhsl(286, 68%, 37%)
HSVhsv(286, 81%, 62%)
CMYKcmyk(19.5%, 81.1%, 0%, 37.6%)
CIE-LABlab(34.03, 58.26, -48.79)
CIE-LCHlch(34.03, 75.99, 320.05°)
OKLaboklab(45.75% 0.1433 -0.1376)
OKLCHoklch(45.75% 0.199 316.2)
XYZxyz(15.6234, 8.0216, 33.5195)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801E9F #3D9F1E
analogous
#3F1E9F #801E9F #9F1E7E
triadic
#801E9F #9F801E #1E9F80
tetradic
#801E9F #9F3F1E #3D9F1E #1E7E9F
square
#801E9F #9F3F1E #3D9F1E #1E7E9F
split-complementary
#801E9F #7E9F1E #1E9F3F
monochromatic
#2D0B38 #57146C #801E9F #A928D2 #BF58DF

Accessibility & contrast

On white

8.06
#801E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801E9F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801E9F#FFFFFF#000000##FFFFFF
##801E9F1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#1C539C
Tritanopia (blue-blind)
#7E3D5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #801e9f;
/* rgb */ color: rgb(128, 30, 159);
/* oklch */ color: oklch(45.7% 0.199 316.2);
Tailwind
colors: {
  custom: {
    50: '#a967bc',
    500: '#801e9f',
    950: '#000000',
  },
}
SCSS
$custom: #801e9f;
$custom-light: #a967bc;
$custom-dark: #000000;
JSON
{
  "hex": "#801e9f",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 285.581,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.19872,
    "h": 316.2
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#801E9F
secondary
#70C356
accent
#EB3D67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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