#801C8F#801C8F

#801C8F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.187 H 322.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#801C8F
RGBrgb(128, 28, 143)
HSLhsl(292, 67%, 34%)
HSVhsv(292, 80%, 56%)
CMYKcmyk(10.5%, 80.4%, 0%, 43.9%)
CIE-LABlab(32.71, 55.82, -41.14)
CIE-LCHlch(32.71, 69.34, 323.61°)
OKLaboklab(44.47% 0.1473 -0.1152)
OKLCHoklch(44.47% 0.187 322)
XYZxyz(14.2747, 7.4037, 26.6584)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C8F #2B8F1C
analogous
#461C8F #801C8F #8F1C64
triadic
#801C8F #8F801C #1C8F80
tetradic
#801C8F #8F461C #2B8F1C #1C648F
square
#801C8F #8F461C #2B8F1C #1C648F
split-complementary
#801C8F #648F1C #1C8F46
monochromatic
#240829 #52125C #801C8F #AE26C2 #C94ADC

Accessibility & contrast

On white

8.47
#801C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801C8F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C8F#FFFFFF#000000##FFFFFF
##801C8F1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#2D518C
Tritanopia (blue-blind)
#813456
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801c8f;
/* rgb */ color: rgb(128, 28, 143);
/* oklch */ color: oklch(44.5% 0.187 322.0);
Tailwind
colors: {
  custom: {
    50: '#a966b0',
    500: '#801c8f',
    950: '#000000',
  },
}
SCSS
$custom: #801c8f;
$custom-light: #a966b0;
$custom-dark: #000000;
JSON
{
  "hex": "#801c8f",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 292.174,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.18701,
    "h": 322
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#801C8F
secondary
#58BE49
accent
#EA3E54
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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