#801FA7#801FA7

#801FA7 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.4% C 0.205 H 313.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#801FA7
RGBrgb(128, 31, 167)
HSLhsl(283, 69%, 39%)
HSVhsv(283, 81%, 65%)
CMYKcmyk(23.4%, 81.4%, 0%, 34.5%)
CIE-LABlab(34.72, 59.54, -52.50)
CIE-LCHlch(34.72, 79.38, 318.60°)
OKLaboklab(46.42% 0.141 -0.1485)
OKLCHoklch(46.42% 0.205 313.5)
XYZxyz(16.3659, 8.3597, 37.3032)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801FA7 #46A71F
analogous
#3C1FA7 #801FA7 #A71F8A
triadic
#801FA7 #A7801F #1FA780
tetradic
#801FA7 #A73C1F #46A71F #1F8AA7
square
#801FA7 #A73C1F #46A71F #1F8AA7
split-complementary
#801FA7 #8AA71F #1FA73C
monochromatic
#310C40 #581573 #801FA7 #A62BD8 #BC5FE1

Accessibility & contrast

On white

7.86
#801FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#801FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801FA7
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801FA7#FFFFFF#000000##FFFFFF
##801FA71.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0A54A4
Tritanopia (blue-blind)
#7C4164
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #801fa7;
/* rgb */ color: rgb(128, 31, 167);
/* oklch */ color: oklch(46.4% 0.205 313.5);
Tailwind
colors: {
  custom: {
    50: '#aa68c2',
    500: '#801fa7',
    950: '#000000',
  },
}
SCSS
$custom: #801fa7;
$custom-light: #aa68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#801fa7",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 282.794,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46418,
    "c": 0.20478,
    "h": 313.5
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#801FA7
secondary
#7AC65C
accent
#EC3C6F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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