#801F9D#801F9D

#801F9D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.196 H 316.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#801F9D
RGBrgb(128, 31, 157)
HSLhsl(286, 67%, 37%)
HSVhsv(286, 80%, 62%)
CMYKcmyk(18.5%, 80.3%, 0%, 38.4%)
CIE-LABlab(33.99, 57.55, -47.63)
CIE-LCHlch(33.99, 74.71, 320.39°)
OKLaboklab(45.68% 0.1429 -0.1343)
OKLCHoklch(45.68% 0.196 316.8)
XYZxyz(15.4770, 8.0042, 32.6215)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F9D #3C9D1F
analogous
#411F9D #801F9D #9D1F7B
triadic
#801F9D #9D801F #1F9D80
tetradic
#801F9D #9D411F #3C9D1F #1F7B9D
square
#801F9D #9D411F #3C9D1F #1F7B9D
split-complementary
#801F9D #7B9D1F #1F9D41
monochromatic
#2D0B37 #56156A #801F9D #AA29D0 #BF58DE

Accessibility & contrast

On white

8.08
#801F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#801F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F9D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F9D#FFFFFF#000000##FFFFFF
##801F9D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#20539A
Tritanopia (blue-blind)
#7E3C5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #801f9d;
/* rgb */ color: rgb(128, 31, 157);
/* oklch */ color: oklch(45.7% 0.196 316.8);
Tailwind
colors: {
  custom: {
    50: '#a967bb',
    500: '#801f9d',
    950: '#000000',
  },
}
SCSS
$custom: #801f9d;
$custom-light: #a967bb;
$custom-dark: #000000;
JSON
{
  "hex": "#801f9d",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 286.19,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45676,
    "c": 0.19608,
    "h": 316.8
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#801F9D
secondary
#6FC256
accent
#EA3E65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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