#801FA1#801FA1

#801FA1 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 46.0% C 0.200 H 315.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#801FA1
RGBrgb(128, 31, 161)
HSLhsl(285, 68%, 38%)
HSVhsv(285, 81%, 63%)
CMYKcmyk(20.5%, 80.7%, 0%, 36.9%)
CIE-LABlab(34.28, 58.34, -49.59)
CIE-LCHlch(34.28, 76.57, 319.63°)
OKLaboklab(45.97% 0.1422 -0.14)
OKLCHoklch(45.97% 0.2 315.4)
XYZxyz(15.8241, 8.1430, 34.4495)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801FA1 #40A11F
analogous
#3F1FA1 #801FA1 #A11F81
triadic
#801FA1 #A1801F #1FA180
tetradic
#801FA1 #A13F1F #40A11F #1F81A1
square
#801FA1 #A13F1F #40A11F #1F81A1
split-complementary
#801FA1 #81A11F #1FA13F
monochromatic
#2E0B3A #57156E #801FA1 #A929D4 #BE5BDF

Accessibility & contrast

On white

7.99
#801FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#801FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801FA1
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801FA1#FFFFFF#000000##FFFFFF
##801FA11.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#19539E
Tritanopia (blue-blind)
#7D3E61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #801fa1;
/* rgb */ color: rgb(128, 31, 161);
/* oklch */ color: oklch(46.0% 0.200 315.4);
Tailwind
colors: {
  custom: {
    50: '#a968be',
    500: '#801fa1',
    950: '#000000',
  },
}
SCSS
$custom: #801fa1;
$custom-light: #a968be;
$custom-dark: #000000;
JSON
{
  "hex": "#801fa1",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 284.769,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.19955,
    "h": 315.4
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

primary
#801FA1
secondary
#74C458
accent
#EB3D69
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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