#801BC9#801BC9

#801BC9 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.9% C 0.238 H 304.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#801BC9
RGBrgb(128, 27, 201)
HSLhsl(275, 76%, 45%)
HSVhsv(275, 87%, 79%)
CMYKcmyk(36.3%, 86.6%, 0%, 21.2%)
CIE-LABlab(37.10, 67.71, -68.75)
CIE-LCHlch(37.10, 96.49, 314.56°)
OKLaboklab(48.92% 0.1338 -0.1962)
OKLCHoklch(48.92% 0.238 304.3)
XYZxyz(19.8342, 9.5902, 56.0532)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801BC9 #64C91B
analogous
#291BC9 #801BC9 #C91BBB
triadic
#801BC9 #C9801B #1BC980
tetradic
#801BC9 #C9291B #64C91B #1BBBC9
square
#801BC9 #C9291B #64C91B #1BBBC9
split-complementary
#801BC9 #BBC91B #1BC929
monochromatic
#3B0D5D #5E1493 #801BC9 #9E3CE5 #B972EC

Accessibility & contrast

On white

7.20
#801BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#801BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801BC9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801BC9#FFFFFF#000000##FFFFFF
##801BC91.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#715077
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #801bc9;
/* rgb */ color: rgb(128, 27, 201);
/* oklch */ color: oklch(48.9% 0.238 304.3);
Tailwind
colors: {
  custom: {
    50: '#ac69db',
    500: '#801bc9',
    950: '#000000',
  },
}
SCSS
$custom: #801bc9;
$custom-light: #ac69db;
$custom-dark: #000000;
JSON
{
  "hex": "#801bc9",
  "rgb": {
    "r": 128,
    "g": 27,
    "b": 201
  },
  "hsl": {
    "h": 274.828,
    "s": 76.316,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.23753,
    "h": 304.3
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#801BC9
secondary
#98D36D
accent
#F33585
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #801BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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