#801CB3#801CB3

#801CB3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.218 H 310.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#801CB3
RGBrgb(128, 28, 179)
HSLhsl(280, 73%, 41%)
HSVhsv(280, 84%, 70%)
CMYKcmyk(28.5%, 84.4%, 0%, 29.8%)
CIE-LABlab(35.35, 62.85, -58.65)
CIE-LCHlch(35.35, 85.96, 316.98°)
OKLaboklab(47.15% 0.1401 -0.1666)
OKLCHoklch(47.15% 0.218 310.1)
XYZxyz(17.4524, 8.6748, 43.3941)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801CB3 #4FB31C
analogous
#341CB3 #801CB3 #B31C9A
triadic
#801CB3 #B3801C #1CB380
tetradic
#801CB3 #B3341C #4FB31C #1C9AB3
square
#801CB3 #B3341C #4FB31C #1C9AB3
split-complementary
#801CB3 #9AB31C #1CB334
monochromatic
#340B49 #5A147E #801CB3 #A32EDE #BA63E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##801CB3#FFFFFF#000000##FFFFFF
##801CB31.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)
#004FB7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#79466B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #801cb3;
/* rgb */ color: rgb(128, 28, 179);
/* oklch */ color: oklch(47.1% 0.218 310.1);
Tailwind
colors: {
  custom: {
    50: '#aa67cb',
    500: '#801cb3',
    950: '#000000',
  },
}
SCSS
$custom: #801cb3;
$custom-light: #aa67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#801cb3",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 279.735,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47147,
    "c": 0.21767,
    "h": 310.1
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#801CB3
secondary
#84CB5F
accent
#F03876
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #801CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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