#801D9D#801D9D

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

Color values

HEX#801D9D
RGBrgb(128, 29, 157)
HSLhsl(286, 69%, 36%)
HSVhsv(286, 82%, 62%)
CMYKcmyk(18.5%, 81.5%, 0%, 38.4%)
CIE-LABlab(33.78, 58.17, -47.98)
CIE-LCHlch(33.78, 75.40, 320.48°)
OKLaboklab(45.53% 0.1445 -0.1353)
OKLCHoklch(45.53% 0.198 316.9)
XYZxyz(15.4263, 7.9029, 32.6046)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D9D #3A9D1D
analogous
#401D9D #801D9D #9D1D7A
triadic
#801D9D #9D801D #1D9D80
tetradic
#801D9D #9D401D #3A9D1D #1D7A9D
square
#801D9D #9D401D #3A9D1D #1D7A9D
split-complementary
#801D9D #7A9D1D #1D9D40
monochromatic
#2C0A36 #561369 #801D9D #AA27D1 #C055E0

Accessibility & contrast

On white

8.14
#801D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801D9D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D9D#FFFFFF#000000##FFFFFF
##801D9D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#1E529A
Tritanopia (blue-blind)
#7E3B5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #801d9d;
/* rgb */ color: rgb(128, 29, 157);
/* oklch */ color: oklch(45.5% 0.198 316.9);
Tailwind
colors: {
  custom: {
    50: '#a967bb',
    500: '#801d9d',
    950: '#000000',
  },
}
SCSS
$custom: #801d9d;
$custom-light: #a967bb;
$custom-dark: #000000;
JSON
{
  "hex": "#801d9d",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 286.406,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45528,
    "c": 0.1979,
    "h": 316.9
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#801D9D
secondary
#6CC353
accent
#EC3C64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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