#801F9B#801F9B

#801F9B is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.194 H 317.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#801F9B
RGBrgb(128, 31, 155)
HSLhsl(287, 67%, 36%)
HSVhsv(287, 80%, 61%)
CMYKcmyk(17.4%, 80%, 0%, 39.2%)
CIE-LABlab(33.85, 57.16, -46.65)
CIE-LCHlch(33.85, 73.78, 320.78°)
OKLaboklab(45.53% 0.1432 -0.1314)
OKLCHoklch(45.53% 0.194 317.5)
XYZxyz(15.3076, 7.9364, 31.7295)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F9B #3A9B1F
analogous
#421F9B #801F9B #9B1F78
triadic
#801F9B #9B801F #1F9B80
tetradic
#801F9B #9B421F #3A9B1F #1F789B
square
#801F9B #9B421F #3A9B1F #1F789B
split-complementary
#801F9B #789B1F #1F9B42
monochromatic
#2C0B35 #561568 #801F9B #AA29CE #C057DD

Accessibility & contrast

On white

8.12
#801F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#801F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F9B
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F9B#FFFFFF#000000##FFFFFF
##801F9B1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#225298
Tritanopia (blue-blind)
#7F3B5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #801f9b;
/* rgb */ color: rgb(128, 31, 155);
/* oklch */ color: oklch(45.5% 0.194 317.5);
Tailwind
colors: {
  custom: {
    50: '#a967b9',
    500: '#801f9b',
    950: '#000000',
  },
}
SCSS
$custom: #801f9b;
$custom-light: #a967b9;
$custom-dark: #000000;
JSON
{
  "hex": "#801f9b",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 286.935,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.19435,
    "h": 317.5
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#801F9B
secondary
#6CC155
accent
#EA3E64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #801F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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