#801C8E#801C8E

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

Color values

HEX#801C8E
RGBrgb(128, 28, 142)
HSLhsl(293, 67%, 33%)
HSVhsv(293, 80%, 56%)
CMYKcmyk(9.9%, 80.3%, 0%, 44.3%)
CIE-LABlab(32.64, 55.64, -40.63)
CIE-LCHlch(32.64, 68.89, 323.86°)
OKLaboklab(44.4% 0.1474 -0.1137)
OKLCHoklch(44.4% 0.186 322.4)
XYZxyz(14.1993, 7.3735, 26.2613)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C8E #2A8E1C
analogous
#471C8E #801C8E #8E1C63
triadic
#801C8E #8E801C #1C8E80
tetradic
#801C8E #8E471C #2A8E1C #1C638E
square
#801C8E #8E471C #2A8E1C #1C638E
split-complementary
#801C8E #638E1C #1C8E47
monochromatic
#240828 #52125B #801C8E #AE26C1 #C949DB

Accessibility & contrast

On white

8.49
#801C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801C8E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C8E#FFFFFF#000000##FFFFFF
##801C8E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#823455
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801c8e;
/* rgb */ color: rgb(128, 28, 142);
/* oklch */ color: oklch(44.4% 0.186 322.4);
Tailwind
colors: {
  custom: {
    50: '#a965b0',
    500: '#801c8e',
    950: '#000000',
  },
}
SCSS
$custom: #801c8e;
$custom-light: #a965b0;
$custom-dark: #000000;
JSON
{
  "hex": "#801c8e",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 292.632,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44398,
    "c": 0.18619,
    "h": 322.4
  },
  "luminance": 0.07373
}

Semantic roles & 50–950 ramp

primary
#801C8E
secondary
#57BD49
accent
#EA3E53
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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