#801FA0#801FA0

#801FA0 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.199 H 315.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#801FA0
RGBrgb(128, 31, 160)
HSLhsl(285, 68%, 37%)
HSVhsv(285, 81%, 63%)
CMYKcmyk(20%, 80.6%, 0%, 37.3%)
CIE-LABlab(34.21, 58.14, -49.11)
CIE-LCHlch(34.21, 76.11, 319.82°)
OKLaboklab(45.9% 0.1424 -0.1386)
OKLCHoklch(45.9% 0.199 315.8)
XYZxyz(15.7362, 8.1079, 33.9869)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801FA0 #3FA01F
analogous
#3F1FA0 #801FA0 #A01F80
triadic
#801FA0 #A0801F #1FA080
tetradic
#801FA0 #A03F1F #3FA01F #1F80A0
square
#801FA0 #A03F1F #3FA01F #1F80A0
split-complementary
#801FA0 #80A01F #1FA03F
monochromatic
#2E0B39 #57156D #801FA0 #A929D3 #BE5ADF

Accessibility & contrast

On white

8.01
#801FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#801FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801FA0
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801FA0#FFFFFF#000000##FFFFFF
##801FA01.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#1B539D
Tritanopia (blue-blind)
#7E3E60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #801fa0;
/* rgb */ color: rgb(128, 31, 160);
/* oklch */ color: oklch(45.9% 0.199 315.8);
Tailwind
colors: {
  custom: {
    50: '#a967bd',
    500: '#801fa0',
    950: '#000000',
  },
}
SCSS
$custom: #801fa0;
$custom-light: #a967bd;
$custom-dark: #000000;
JSON
{
  "hex": "#801fa0",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 285.116,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45895,
    "c": 0.19868,
    "h": 315.8
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#801FA0
secondary
#72C358
accent
#EA3D68
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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