#801AB4#801AB4

#801AB4 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 47.1% C 0.220 H 309.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#801AB4
RGBrgb(128, 26, 180)
HSLhsl(280, 75%, 40%)
HSVhsv(280, 86%, 71%)
CMYKcmyk(28.9%, 85.6%, 0%, 29.4%)
CIE-LABlab(35.25, 63.59, -59.41)
CIE-LCHlch(35.25, 87.02, 316.95°)
OKLaboklab(47.1% 0.141 -0.1688)
OKLCHoklch(47.1% 0.22 309.9)
XYZxyz(17.5080, 8.6237, 43.9134)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801AB4 #4EB41A
analogous
#331AB4 #801AB4 #B41A9B
triadic
#801AB4 #B4801A #1AB480
tetradic
#801AB4 #B4331A #4EB41A #1A9BB4
square
#801AB4 #B4331A #4EB41A #1A9BB4
split-complementary
#801AB4 #9BB41A #1AB433
monochromatic
#340B49 #5A127F #801AB4 #A32BE0 #BA60E8

Accessibility & contrast

On white

7.71
#801AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#801AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801AB4
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801AB4#FFFFFF#000000##FFFFFF
##801AB41.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#78456B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #801ab4;
/* rgb */ color: rgb(128, 26, 180);
/* oklch */ color: oklch(47.1% 0.220 309.9);
Tailwind
colors: {
  custom: {
    50: '#ab67cb',
    500: '#801ab4',
    950: '#000000',
  },
}
SCSS
$custom: #801ab4;
$custom-light: #ab67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#801ab4",
  "rgb": {
    "r": 128,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 279.74,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47102,
    "c": 0.21998,
    "h": 309.9
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#801AB4
secondary
#83CC5D
accent
#F13676
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #801AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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