#801C9D#801C9D

#801C9D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.199 H 316.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#801C9D
RGBrgb(128, 28, 157)
HSLhsl(287, 70%, 36%)
HSVhsv(287, 82%, 62%)
CMYKcmyk(18.5%, 82.2%, 0%, 38.4%)
CIE-LABlab(33.68, 58.46, -48.14)
CIE-LCHlch(33.68, 75.73, 320.53°)
OKLaboklab(45.46% 0.1452 -0.1357)
OKLCHoklch(45.46% 0.199 316.9)
XYZxyz(15.4022, 7.8547, 32.5965)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C9D #399D1C
analogous
#401C9D #801C9D #9D1C7A
triadic
#801C9D #9D801C #1C9D80
tetradic
#801C9D #9D401C #399D1C #1C7A9D
square
#801C9D #9D401C #399D1C #1C7A9D
split-complementary
#801C9D #7A9D1C #1C9D40
monochromatic
#2B0935 #561369 #801C9D #AA25D1 #C153E0

Accessibility & contrast

On white

8.17
#801C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#801C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801C9D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C9D#FFFFFF#000000##FFFFFF
##801C9D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#1D529A
Tritanopia (blue-blind)
#7E3B5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #801c9d;
/* rgb */ color: rgb(128, 28, 157);
/* oklch */ color: oklch(45.5% 0.199 316.9);
Tailwind
colors: {
  custom: {
    50: '#a966bb',
    500: '#801c9d',
    950: '#000000',
  },
}
SCSS
$custom: #801c9d;
$custom-light: #a966bb;
$custom-dark: #000000;
JSON
{
  "hex": "#801c9d",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 286.512,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45456,
    "c": 0.19877,
    "h": 316.9
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#801C9D
secondary
#6BC351
accent
#ED3B63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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