#801D9C#801D9C

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

Color values

HEX#801D9C
RGBrgb(128, 29, 156)
HSLhsl(287, 69%, 36%)
HSVhsv(287, 81%, 61%)
CMYKcmyk(17.9%, 81.4%, 0%, 38.8%)
CIE-LABlab(33.71, 57.98, -47.48)
CIE-LCHlch(33.71, 74.94, 320.68°)
OKLaboklab(45.46% 0.1446 -0.1338)
OKLCHoklch(45.46% 0.197 317.2)
XYZxyz(15.3413, 7.8689, 32.1568)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D9C #399C1D
analogous
#411D9C #801D9C #9C1D79
triadic
#801D9C #9C801D #1D9C80
tetradic
#801D9C #9C411D #399C1D #1D799C
square
#801D9C #9C411D #399C1D #1D799C
split-complementary
#801D9C #799C1D #1D9C41
monochromatic
#2B0A35 #561368 #801D9C #AA27D0 #C154DF

Accessibility & contrast

On white

8.16
#801D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801D9C
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D9C#FFFFFF#000000##FFFFFF
##801D9C1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#205299
Tritanopia (blue-blind)
#7F3B5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #801d9c;
/* rgb */ color: rgb(128, 29, 156);
/* oklch */ color: oklch(45.5% 0.197 317.2);
Tailwind
colors: {
  custom: {
    50: '#a967ba',
    500: '#801d9c',
    950: '#000000',
  },
}
SCSS
$custom: #801d9c;
$custom-light: #a967ba;
$custom-dark: #000000;
JSON
{
  "hex": "#801d9c",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 286.772,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.19705,
    "h": 317.2
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#801D9C
secondary
#6BC252
accent
#EB3C63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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