#801F8E#801F8E

#801F8E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.183 H 322.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#801F8E
RGBrgb(128, 31, 142)
HSLhsl(292, 64%, 34%)
HSVhsv(292, 78%, 56%)
CMYKcmyk(9.9%, 78.2%, 0%, 44.3%)
CIE-LABlab(32.97, 54.70, -40.10)
CIE-LCHlch(32.97, 67.82, 323.75°)
OKLaboklab(44.63% 0.1449 -0.1122)
OKLCHoklch(44.63% 0.183 322.2)
XYZxyz(14.2741, 7.5230, 26.2862)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F8E #2D8E1F
analogous
#491F8E #801F8E #8E1F65
triadic
#801F8E #8E801F #1F8E80
tetradic
#801F8E #8E491F #2D8E1F #1F658E
square
#801F8E #8E491F #2D8E1F #1F658E
split-complementary
#801F8E #658E1F #1F8E49
monochromatic
#25092A #53145C #801F8E #AD2AC0 #C74FD9

Accessibility & contrast

On white

8.39
#801F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#801F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F8E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F8E#FFFFFF#000000##FFFFFF
##801F8E1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#823556
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #801f8e;
/* rgb */ color: rgb(128, 31, 142);
/* oklch */ color: oklch(44.6% 0.183 322.2);
Tailwind
colors: {
  custom: {
    50: '#a867b0',
    500: '#801f8e',
    950: '#000000',
  },
}
SCSS
$custom: #801f8e;
$custom-light: #a867b0;
$custom-dark: #000000;
JSON
{
  "hex": "#801f8e",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 292.432,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44629,
    "c": 0.18325,
    "h": 322.2
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#801F8E
secondary
#5BBB4D
accent
#E74156
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #801F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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