#801E9B#801E9B

#801E9B is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.195 H 317.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#801E9B
RGBrgb(128, 30, 155)
HSLhsl(287, 68%, 36%)
HSVhsv(287, 81%, 61%)
CMYKcmyk(17.4%, 80.6%, 0%, 39.2%)
CIE-LABlab(33.74, 57.48, -46.82)
CIE-LCHlch(33.74, 74.13, 320.83°)
OKLaboklab(45.46% 0.144 -0.1319)
OKLCHoklch(45.46% 0.195 317.5)
XYZxyz(15.2819, 7.8850, 31.7210)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801E9B #399B1E
analogous
#421E9B #801E9B #9B1E78
triadic
#801E9B #9B801E #1E9B80
tetradic
#801E9B #9B421E #399B1E #1E789B
square
#801E9B #9B421E #399B1E #1E789B
split-complementary
#801E9B #789B1E #1E9B42
monochromatic
#2B0A34 #561468 #801E9B #AA28CE #C155DE

Accessibility & contrast

On white

8.15
#801E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#801E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801E9B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801E9B#FFFFFF#000000##FFFFFF
##801E9B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#225298
Tritanopia (blue-blind)
#7F3B5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #801e9b;
/* rgb */ color: rgb(128, 30, 155);
/* oklch */ color: oklch(45.5% 0.195 317.5);
Tailwind
colors: {
  custom: {
    50: '#a967b9',
    500: '#801e9b',
    950: '#000000',
  },
}
SCSS
$custom: #801e9b;
$custom-light: #a967b9;
$custom-dark: #000000;
JSON
{
  "hex": "#801e9b",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 287.04,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45456,
    "c": 0.19529,
    "h": 317.5
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#801E9B
secondary
#6BC253
accent
#EA3D63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #801E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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