#801E7C#801E7C

#801E7C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.170 H 329.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#801E7C
RGBrgb(128, 30, 124)
HSLhsl(302, 62%, 31%)
HSVhsv(302, 77%, 50%)
CMYKcmyk(0%, 76.6%, 3.1%, 49.8%)
CIE-LABlab(31.75, 51.84, -30.84)
CIE-LCHlch(31.75, 60.32, 329.25°)
OKLaboklab(43.4% 0.1466 -0.0852)
OKLCHoklch(43.4% 0.17 329.8)
XYZxyz(13.0044, 6.9740, 19.7261)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801E7C #1E8022
analogous
#531E80 #801E7C #801E4B
triadic
#801E7C #7C801E #1E7C80
tetradic
#801E7C #80531E #1E8022 #1E4B80
square
#801E7C #80531E #1E8022 #1E4B80
split-complementary
#801E7C #4B801E #1E8053
monochromatic
#1D071C #4E124C #801E7C #B22AAC #D345CE

Accessibility & contrast

On white

8.77
#801E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#801E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801E7C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801E7C#FFFFFF#000000##FFFFFF
##801E7C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427F
Deuteranopia (green-blind)
#3C4F7A
Tritanopia (blue-blind)
#852C4B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801e7c;
/* rgb */ color: rgb(128, 30, 124);
/* oklch */ color: oklch(43.4% 0.170 329.8);
Tailwind
colors: {
  custom: {
    50: '#a865a2',
    500: '#801e7c',
    950: '#000000',
  },
}
SCSS
$custom: #801e7c;
$custom-light: #a865a2;
$custom-dark: #000000;
JSON
{
  "hex": "#801e7c",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 302.449,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43403,
    "c": 0.16953,
    "h": 329.8
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#801E7C
secondary
#47B34B
accent
#E54943
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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