#801FA8#801FA8

#801FA8 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.206 H 313.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#801FA8
RGBrgb(128, 31, 168)
HSLhsl(282, 69%, 39%)
HSVhsv(282, 82%, 66%)
CMYKcmyk(23.8%, 81.5%, 0%, 34.1%)
CIE-LABlab(34.80, 59.74, -52.97)
CIE-LCHlch(34.80, 79.85, 318.44°)
OKLaboklab(46.49% 0.1407 -0.1499)
OKLCHoklch(46.49% 0.206 313.2)
XYZxyz(16.4587, 8.3968, 37.7920)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801FA8 #47A81F
analogous
#3C1FA8 #801FA8 #A81F8C
triadic
#801FA8 #A8801F #1FA880
tetradic
#801FA8 #A83C1F #47A81F #1F8CA8
square
#801FA8 #A83C1F #47A81F #1F8CA8
split-complementary
#801FA8 #8CA81F #1FA83C
monochromatic
#310C41 #591574 #801FA8 #A62CD8 #BC60E2

Accessibility & contrast

On white

7.84
#801FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#801FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801FA8
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801FA8#FFFFFF#000000##FFFFFF
##801FA81.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0654A5
Tritanopia (blue-blind)
#7C4165
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #801fa8;
/* rgb */ color: rgb(128, 31, 168);
/* oklch */ color: oklch(46.5% 0.206 313.2);
Tailwind
colors: {
  custom: {
    50: '#aa68c3',
    500: '#801fa8',
    950: '#000000',
  },
}
SCSS
$custom: #801fa8;
$custom-light: #aa68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#801fa8",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 282.482,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46494,
    "c": 0.20565,
    "h": 313.2
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#801FA8
secondary
#7BC65D
accent
#EC3C6F
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #801FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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