#801CB4#801CB4

#801CB4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.2% C 0.219 H 309.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#801CB4
RGBrgb(128, 28, 180)
HSLhsl(279, 73%, 41%)
HSVhsv(279, 84%, 71%)
CMYKcmyk(28.9%, 84.4%, 0%, 29.4%)
CIE-LABlab(35.43, 63.06, -59.11)
CIE-LCHlch(35.43, 86.43, 316.85°)
OKLaboklab(47.23% 0.1398 -0.168)
OKLCHoklch(47.23% 0.219 309.8)
XYZxyz(17.5539, 8.7154, 43.9287)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801CB4 #50B41C
analogous
#341CB4 #801CB4 #B41C9C
triadic
#801CB4 #B4801C #1CB480
tetradic
#801CB4 #B4341C #50B41C #1C9CB4
square
#801CB4 #B4341C #50B41C #1C9CB4
split-complementary
#801CB4 #9CB41C #1CB434
monochromatic
#350C4A #5A147F #801CB4 #A22FDF #BA64E7

Accessibility & contrast

On white

7.66
#801CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#801CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801CB4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801CB4#FFFFFF#000000##FFFFFF
##801CB41.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801cb4;
/* rgb */ color: rgb(128, 28, 180);
/* oklch */ color: oklch(47.2% 0.219 309.8);
Tailwind
colors: {
  custom: {
    50: '#aa68cb',
    500: '#801cb4',
    950: '#000000',
  },
}
SCSS
$custom: #801cb4;
$custom-light: #aa68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#801cb4",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 279.474,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.21853,
    "h": 309.8
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#801CB4
secondary
#85CC60
accent
#F03877
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #801CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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