#801C8D#801C8D

#801C8D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.185 H 322.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#801C8D
RGBrgb(128, 28, 141)
HSLhsl(293, 67%, 33%)
HSVhsv(293, 80%, 55%)
CMYKcmyk(9.2%, 80.1%, 0%, 44.7%)
CIE-LABlab(32.58, 55.46, -40.12)
CIE-LCHlch(32.58, 68.45, 324.12°)
OKLaboklab(44.33% 0.1475 -0.1122)
OKLCHoklch(44.33% 0.185 322.7)
XYZxyz(14.1246, 7.3436, 25.8676)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C8D #298D1C
analogous
#471C8D #801C8D #8D1C61
triadic
#801C8D #8D801C #1C8D80
tetradic
#801C8D #8D471C #298D1C #1C618D
square
#801C8D #8D471C #298D1C #1C618D
split-complementary
#801C8D #618D1C #1C8D47
monochromatic
#230827 #52125A #801C8D #AE26C0 #CA49DB

Accessibility & contrast

On white

8.51
#801C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#801C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801C8D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C8D#FFFFFF#000000##FFFFFF
##801C8D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#823355
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801c8d;
/* rgb */ color: rgb(128, 28, 141);
/* oklch */ color: oklch(44.3% 0.185 322.7);
Tailwind
colors: {
  custom: {
    50: '#a965af',
    500: '#801c8d',
    950: '#000000',
  },
}
SCSS
$custom: #801c8d;
$custom-light: #a965af;
$custom-dark: #000000;
JSON
{
  "hex": "#801c8d",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 293.097,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4433,
    "c": 0.18536,
    "h": 322.7
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#801C8D
secondary
#55BD48
accent
#EA3E52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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