#801F9F#801F9F

#801F9F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.198 H 316.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#801F9F
RGBrgb(128, 31, 159)
HSLhsl(285, 67%, 37%)
HSVhsv(285, 81%, 62%)
CMYKcmyk(19.5%, 80.5%, 0%, 37.6%)
CIE-LABlab(34.13, 57.95, -48.62)
CIE-LCHlch(34.13, 75.64, 320.00°)
OKLaboklab(45.82% 0.1425 -0.1371)
OKLCHoklch(45.82% 0.198 316.1)
XYZxyz(15.6491, 8.0730, 33.5281)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F9F #3E9F1F
analogous
#401F9F #801F9F #9F1F7E
triadic
#801F9F #9F801F #1F9F80
tetradic
#801F9F #9F401F #3E9F1F #1F7E9F
square
#801F9F #9F401F #3E9F1F #1F7E9F
split-complementary
#801F9F #7E9F1F #1F9F40
monochromatic
#2E0B39 #57156C #801F9F #A929D2 #BF5ADF

Accessibility & contrast

On white

8.03
#801F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#801F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F9F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F9F#FFFFFF#000000##FFFFFF
##801F9F1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#1D539C
Tritanopia (blue-blind)
#7E3D60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #801f9f;
/* rgb */ color: rgb(128, 31, 159);
/* oklch */ color: oklch(45.8% 0.198 316.1);
Tailwind
colors: {
  custom: {
    50: '#a967bc',
    500: '#801f9f',
    950: '#000000',
  },
}
SCSS
$custom: #801f9f;
$custom-light: #a967bc;
$custom-dark: #000000;
JSON
{
  "hex": "#801f9f",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 285.469,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45822,
    "c": 0.19781,
    "h": 316.1
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#801F9F
secondary
#71C357
accent
#EA3E67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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