#801E7B#801E7B

#801E7B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.169 H 330.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#801E7B
RGBrgb(128, 30, 123)
HSLhsl(303, 62%, 31%)
HSVhsv(303, 77%, 50%)
CMYKcmyk(0%, 76.6%, 3.9%, 49.8%)
CIE-LABlab(31.69, 51.67, -30.31)
CIE-LCHlch(31.69, 59.90, 329.61°)
OKLaboklab(43.34% 0.1466 -0.0836)
OKLCHoklch(43.34% 0.169 330.3)
XYZxyz(12.9415, 6.9488, 19.3947)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801E7B #1E8023
analogous
#541E80 #801E7B #801E4A
triadic
#801E7B #7B801E #1E7B80
tetradic
#801E7B #80541E #1E8023 #1E4A80
square
#801E7B #80541E #1E8023 #1E4A80
split-complementary
#801E7B #4A801E #1E8054
monochromatic
#1D071C #4E124B #801E7B #B22AAB #D345CC

Accessibility & contrast

On white

8.79
#801E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801E7B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801E7B#FFFFFF#000000##FFFFFF
##801E7B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427E
Deuteranopia (green-blind)
#3C4F79
Tritanopia (blue-blind)
#852B4B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801e7b;
/* rgb */ color: rgb(128, 30, 123);
/* oklch */ color: oklch(43.3% 0.169 330.3);
Tailwind
colors: {
  custom: {
    50: '#a865a1',
    500: '#801e7b',
    950: '#000000',
  },
}
SCSS
$custom: #801e7b;
$custom-light: #a865a1;
$custom-dark: #000000;
JSON
{
  "hex": "#801e7b",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 303.061,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43343,
    "c": 0.16874,
    "h": 330.3
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#801E7B
secondary
#47B34C
accent
#E54B43
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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