#801F99#801F99

#801F99 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.193 H 318.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#801F99
RGBrgb(128, 31, 153)
HSLhsl(288, 66%, 36%)
HSVhsv(288, 80%, 60%)
CMYKcmyk(16.3%, 79.7%, 0%, 40%)
CIE-LABlab(33.71, 56.78, -45.66)
CIE-LCHlch(33.71, 72.86, 321.20°)
OKLaboklab(45.39% 0.1435 -0.1285)
OKLCHoklch(45.39% 0.193 318.2)
XYZxyz(15.1410, 7.8698, 30.8523)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F99 #38991F
analogous
#431F99 #801F99 #991F75
triadic
#801F99 #99801F #1F9980
tetradic
#801F99 #99431F #38991F #1F7599
square
#801F99 #99431F #38991F #1F7599
split-complementary
#801F99 #75991F #1F9943
monochromatic
#2B0A33 #551566 #801F99 #AB29CC #C156DD

Accessibility & contrast

On white

8.16
#801F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#801F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F99
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F99#FFFFFF#000000##FFFFFF
##801F991.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#7F3A5C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #801f99;
/* rgb */ color: rgb(128, 31, 153);
/* oklch */ color: oklch(45.4% 0.193 318.2);
Tailwind
colors: {
  custom: {
    50: '#a967b8',
    500: '#801f99',
    950: '#000000',
  },
}
SCSS
$custom: #801f99;
$custom-light: #a967b8;
$custom-dark: #000000;
JSON
{
  "hex": "#801f99",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 287.705,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45389,
    "c": 0.19263,
    "h": 318.2
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#801F99
secondary
#6AC054
accent
#E93F62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #801F99

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

Preview Lab → · Contrast checker → · Palette generator →

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