#801FA5#801FA5

#801FA5 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.3% C 0.203 H 314.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#801FA5
RGBrgb(128, 31, 165)
HSLhsl(283, 68%, 38%)
HSVhsv(283, 81%, 65%)
CMYKcmyk(22.4%, 81.2%, 0%, 35.3%)
CIE-LABlab(34.57, 59.14, -51.53)
CIE-LCHlch(34.57, 78.44, 318.93°)
OKLaboklab(46.27% 0.1414 -0.1457)
OKLCHoklch(46.27% 0.203 314.1)
XYZxyz(16.1824, 8.2863, 36.3370)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801FA5 #44A51F
analogous
#3D1FA5 #801FA5 #A51F87
triadic
#801FA5 #A5801F #1FA580
tetradic
#801FA5 #A53D1F #44A51F #1F87A5
square
#801FA5 #A53D1F #44A51F #1F87A5
split-complementary
#801FA5 #87A51F #1FA53D
monochromatic
#300C3E #581571 #801FA5 #A72AD7 #BD5EE1

Accessibility & contrast

On white

7.90
#801FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#801FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801FA5
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801FA5#FFFFFF#000000##FFFFFF
##801FA51.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#1053A2
Tritanopia (blue-blind)
#7C4063
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #801fa5;
/* rgb */ color: rgb(128, 31, 165);
/* oklch */ color: oklch(46.3% 0.203 314.1);
Tailwind
colors: {
  custom: {
    50: '#a968c0',
    500: '#801fa5',
    950: '#000000',
  },
}
SCSS
$custom: #801fa5;
$custom-light: #a968c0;
$custom-dark: #000000;
JSON
{
  "hex": "#801fa5",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 283.433,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46267,
    "c": 0.20303,
    "h": 314.1
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#801FA5
secondary
#78C55B
accent
#EB3D6D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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