#801F9E#801F9E

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

Color values

HEX#801F9E
RGBrgb(128, 31, 158)
HSLhsl(286, 67%, 37%)
HSVhsv(286, 80%, 62%)
CMYKcmyk(19%, 80.4%, 0%, 38%)
CIE-LABlab(34.06, 57.75, -48.13)
CIE-LCHlch(34.06, 75.18, 320.19°)
OKLaboklab(45.75% 0.1427 -0.1357)
OKLCHoklch(45.75% 0.197 316.4)
XYZxyz(15.5627, 8.0384, 33.0729)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F9E #3D9E1F
analogous
#411F9E #801F9E #9E1F7D
triadic
#801F9E #9E801F #1F9E80
tetradic
#801F9E #9E411F #3D9E1F #1F7D9E
square
#801F9E #9E411F #3D9E1F #1F7D9E
split-complementary
#801F9E #7D9E1F #1F9E41
monochromatic
#2D0B38 #57156B #801F9E #A929D1 #BF59DE

Accessibility & contrast

On white

8.05
#801F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#801F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F9E
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F9E#FFFFFF#000000##FFFFFF
##801F9E1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801f9e;
/* rgb */ color: rgb(128, 31, 158);
/* oklch */ color: oklch(45.7% 0.197 316.4);
Tailwind
colors: {
  custom: {
    50: '#a967bb',
    500: '#801f9e',
    950: '#000000',
  },
}
SCSS
$custom: #801f9e;
$custom-light: #a967bb;
$custom-dark: #000000;
JSON
{
  "hex": "#801f9e",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 285.827,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.19694,
    "h": 316.4
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#801F9E
secondary
#70C256
accent
#EA3E66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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