#801E8B#801E8B

#801E8B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.182 H 323.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#801E8B
RGBrgb(128, 30, 139)
HSLhsl(294, 64%, 33%)
HSVhsv(294, 78%, 55%)
CMYKcmyk(7.9%, 78.4%, 0%, 45.5%)
CIE-LABlab(32.66, 54.47, -38.74)
CIE-LCHlch(32.66, 66.84, 324.58°)
OKLaboklab(44.35% 0.146 -0.1082)
OKLCHoklch(44.35% 0.182 323.5)
XYZxyz(14.0261, 7.3827, 25.1073)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801E8B #298B1E
analogous
#491E8B #801E8B #8B1E5F
triadic
#801E8B #8B801E #1E8B80
tetradic
#801E8B #8B491E #298B1E #1E5F8B
square
#801E8B #8B491E #298B1E #1E5F8B
split-complementary
#801E8B #5F8B1E #1E8B49
monochromatic
#230826 #521359 #801E8B #AE29BD #CA4BD8

Accessibility & contrast

On white

8.48
#801E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#801E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801E8B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801E8B#FFFFFF#000000##FFFFFF
##801E8B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#325188
Tritanopia (blue-blind)
#823354
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801e8b;
/* rgb */ color: rgb(128, 30, 139);
/* oklch */ color: oklch(44.4% 0.182 323.5);
Tailwind
colors: {
  custom: {
    50: '#a866ad',
    500: '#801e8b',
    950: '#000000',
  },
}
SCSS
$custom: #801e8b;
$custom-light: #a866ad;
$custom-dark: #000000;
JSON
{
  "hex": "#801e8b",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 293.945,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4435,
    "c": 0.18175,
    "h": 323.5
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#801E8B
secondary
#55BB4A
accent
#E74051
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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