#801D8F#801D8F

#801D8F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.186 H 321.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#801D8F
RGBrgb(128, 29, 143)
HSLhsl(292, 66%, 34%)
HSVhsv(292, 80%, 56%)
CMYKcmyk(10.5%, 79.7%, 0%, 43.9%)
CIE-LABlab(32.81, 55.52, -40.97)
CIE-LCHlch(32.81, 69.00, 323.57°)
OKLaboklab(44.54% 0.1465 -0.1147)
OKLCHoklch(44.54% 0.186 321.9)
XYZxyz(14.2988, 7.4519, 26.6665)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D8F #2C8F1D
analogous
#471D8F #801D8F #8F1D65
triadic
#801D8F #8F801D #1D8F80
tetradic
#801D8F #8F471D #2C8F1D #1D658F
square
#801D8F #8F471D #2C8F1D #1D658F
split-complementary
#801D8F #658F1D #1D8F47
monochromatic
#250829 #52135C #801D8F #AE27C2 #C84CDB

Accessibility & contrast

On white

8.43
#801D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#801D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801D8F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D8F#FFFFFF#000000##FFFFFF
##801D8F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#2E518C
Tritanopia (blue-blind)
#813556
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801d8f;
/* rgb */ color: rgb(128, 29, 143);
/* oklch */ color: oklch(44.5% 0.186 321.9);
Tailwind
colors: {
  custom: {
    50: '#a966b0',
    500: '#801d8f',
    950: '#000000',
  },
}
SCSS
$custom: #801d8f;
$custom-light: #a966b0;
$custom-dark: #000000;
JSON
{
  "hex": "#801d8f",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 292.105,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.18607,
    "h": 321.9
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#801D8F
secondary
#5ABD4B
accent
#E93F55
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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