#801FB4#801FB4

#801FB4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.216 H 309.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#801FB4
RGBrgb(128, 31, 180)
HSLhsl(279, 71%, 41%)
HSVhsv(279, 83%, 71%)
CMYKcmyk(28.9%, 82.8%, 0%, 29.4%)
CIE-LABlab(35.72, 62.20, -58.63)
CIE-LCHlch(35.72, 85.48, 316.69°)
OKLaboklab(47.43% 0.1378 -0.1666)
OKLCHoklch(47.43% 0.216 309.6)
XYZxyz(17.6286, 8.8648, 43.9536)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801FB4 #53B41F
analogous
#351FB4 #801FB4 #B41F9E
triadic
#801FB4 #B4801F #1FB480
tetradic
#801FB4 #B4351F #53B41F #1F9EB4
square
#801FB4 #B4351F #53B41F #1F9EB4
split-complementary
#801FB4 #9EB41F #1FB435
monochromatic
#360D4C #5B1680 #801FB4 #A134DC #BA68E5

Accessibility & contrast

On white

7.57
#801FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#801FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801FB4
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801FB4#FFFFFF#000000##FFFFFF
##801FB41.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#78476C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #801fb4;
/* rgb */ color: rgb(128, 31, 180);
/* oklch */ color: oklch(47.4% 0.216 309.6);
Tailwind
colors: {
  custom: {
    50: '#aa69cb',
    500: '#801fb4',
    950: '#000000',
  },
}
SCSS
$custom: #801fb4;
$custom-light: #aa69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#801fb4",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 279.06,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47431,
    "c": 0.21622,
    "h": 309.6
  },
  "luminance": 0.08864
}

Semantic roles & 50–950 ramp

primary
#801FB4
secondary
#88CB64
accent
#ED3A79
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #801FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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