#801BB4#801BB4

#801BB4 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.68:1 contrast (WCAG AA passes).

Color values

HEX#801BB4
RGBrgb(128, 27, 180)
HSLhsl(280, 74%, 41%)
HSVhsv(280, 85%, 71%)
CMYKcmyk(28.9%, 85%, 0%, 29.4%)
CIE-LABlab(35.34, 63.33, -59.26)
CIE-LCHlch(35.34, 86.73, 316.90°)
OKLaboklab(47.16% 0.1404 -0.1684)
OKLCHoklch(47.16% 0.219 309.8)
XYZxyz(17.5306, 8.6687, 43.9209)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801BB4 #4FB41B
analogous
#341BB4 #801BB4 #B41B9B
triadic
#801BB4 #B4801B #1BB480
tetradic
#801BB4 #B4341B #4FB41B #1B9BB4
square
#801BB4 #B4341B #4FB41B #1B9BB4
split-complementary
#801BB4 #9BB41B #1BB434
monochromatic
#340B4A #5A137F #801BB4 #A32DDF #BA62E7

Accessibility & contrast

On white

7.68
#801BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#801BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801BB4
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801BB4#FFFFFF#000000##FFFFFF
##801BB41.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801bb4;
/* rgb */ color: rgb(128, 27, 180);
/* oklch */ color: oklch(47.2% 0.219 309.8);
Tailwind
colors: {
  custom: {
    50: '#ab67cb',
    500: '#801bb4',
    950: '#000000',
  },
}
SCSS
$custom: #801bb4;
$custom-light: #ab67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#801bb4",
  "rgb": {
    "r": 128,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 279.608,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47164,
    "c": 0.21928,
    "h": 309.8
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#801BB4
secondary
#84CC5F
accent
#F13776
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #801BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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