#801C9F#801C9F

#801C9F is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.6% C 0.200 H 316.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#801C9F
RGBrgb(128, 28, 159)
HSLhsl(286, 70%, 37%)
HSVhsv(286, 82%, 62%)
CMYKcmyk(19.5%, 82.4%, 0%, 37.6%)
CIE-LABlab(33.82, 58.85, -49.12)
CIE-LCHlch(33.82, 76.66, 320.15°)
OKLaboklab(45.6% 0.1448 -0.1386)
OKLCHoklch(45.6% 0.2 316.3)
XYZxyz(15.5744, 7.9236, 33.5032)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C9F #3B9F1C
analogous
#3F1C9F #801C9F #9F1C7C
triadic
#801C9F #9F801C #1C9F80
tetradic
#801C9F #9F3F1C #3B9F1C #1C7C9F
square
#801C9F #9F3F1C #3B9F1C #1C7C9F
split-complementary
#801C9F #7C9F1C #1C9F3F
monochromatic
#2C0A37 #56136B #801C9F #AA25D3 #C054E1

Accessibility & contrast

On white

8.13
#801C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#801C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801C9F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C9F#FFFFFF#000000##FFFFFF
##801C9F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#1A529C
Tritanopia (blue-blind)
#7E3C5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #801c9f;
/* rgb */ color: rgb(128, 28, 159);
/* oklch */ color: oklch(45.6% 0.200 316.3);
Tailwind
colors: {
  custom: {
    50: '#a966bc',
    500: '#801c9f',
    950: '#000000',
  },
}
SCSS
$custom: #801c9f;
$custom-light: #a966bc;
$custom-dark: #000000;
JSON
{
  "hex": "#801c9f",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 285.802,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.20047,
    "h": 316.3
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#801C9F
secondary
#6EC453
accent
#ED3B65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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