#801E7E#801E7E

#801E7E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.171 H 328.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#801E7E
RGBrgb(128, 30, 126)
HSLhsl(301, 62%, 31%)
HSVhsv(301, 77%, 50%)
CMYKcmyk(0%, 76.6%, 1.6%, 49.8%)
CIE-LABlab(31.86, 52.17, -31.92)
CIE-LCHlch(31.86, 61.16, 328.55°)
OKLaboklab(43.52% 0.1466 -0.0883)
OKLCHoklch(43.52% 0.171 328.9)
XYZxyz(13.1321, 7.0251, 20.3989)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801E7E #1E8020
analogous
#511E80 #801E7E #801E4D
triadic
#801E7E #7E801E #1E7E80
tetradic
#801E7E #80511E #1E8020 #1E4D80
square
#801E7E #80511E #1E8020 #1E4D80
split-complementary
#801E7E #4D801E #1E8051
monochromatic
#1D071C #4E124D #801E7E #B22AAF #D345D0

Accessibility & contrast

On white

8.73
#801E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#801E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801E7E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801E7E#FFFFFF#000000##FFFFFF
##801E7E1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4381
Deuteranopia (green-blind)
#3A4F7C
Tritanopia (blue-blind)
#852D4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801e7e;
/* rgb */ color: rgb(128, 30, 126);
/* oklch */ color: oklch(43.5% 0.171 328.9);
Tailwind
colors: {
  custom: {
    50: '#a865a4',
    500: '#801e7e',
    950: '#000000',
  },
}
SCSS
$custom: #801e7e;
$custom-light: #a865a4;
$custom-dark: #000000;
JSON
{
  "hex": "#801e7e",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 301.224,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43524,
    "c": 0.17112,
    "h": 328.9
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#801E7E
secondary
#47B349
accent
#E54643
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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