#801DA7#801DA7

#801DA7 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.3% C 0.206 H 313.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#801DA7
RGBrgb(128, 29, 167)
HSLhsl(283, 70%, 38%)
HSVhsv(283, 83%, 65%)
CMYKcmyk(23.4%, 82.6%, 0%, 34.5%)
CIE-LABlab(34.52, 60.14, -52.83)
CIE-LCHlch(34.52, 80.05, 318.70°)
OKLaboklab(46.28% 0.1424 -0.1495)
OKLCHoklch(46.28% 0.206 313.6)
XYZxyz(16.3153, 8.2585, 37.2863)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801DA7 #44A71D
analogous
#3B1DA7 #801DA7 #A71D89
triadic
#801DA7 #A7801D #1DA780
tetradic
#801DA7 #A73B1D #44A71D #1D89A7
square
#801DA7 #A73B1D #44A71D #1D89A7
split-complementary
#801DA7 #89A71D #1DA73B
monochromatic
#300B3F #581473 #801DA7 #A728DA #BD5CE3

Accessibility & contrast

On white

7.92
#801DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#801DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801DA7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801DA7#FFFFFF#000000##FFFFFF
##801DA71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0653A4
Tritanopia (blue-blind)
#7C4064
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #801da7;
/* rgb */ color: rgb(128, 29, 167);
/* oklch */ color: oklch(46.3% 0.206 313.6);
Tailwind
colors: {
  custom: {
    50: '#aa67c2',
    500: '#801da7',
    950: '#000000',
  },
}
SCSS
$custom: #801da7;
$custom-light: #aa67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#801da7",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 283.043,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46275,
    "c": 0.20649,
    "h": 313.6
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#801DA7
secondary
#78C759
accent
#ED3B6D
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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