#801FD4#801FD4

#801FD4 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 50.1% C 0.245 H 301.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#801FD4
RGBrgb(128, 31, 212)
HSLhsl(272, 74%, 48%)
HSVhsv(272, 85%, 83%)
CMYKcmyk(39.6%, 85.4%, 0%, 16.9%)
CIE-LABlab(38.42, 69.03, -72.97)
CIE-LCHlch(38.42, 100.44, 313.41°)
OKLaboklab(50.12% 0.1278 -0.2087)
OKLCHoklch(50.12% 0.245 301.5)
XYZxyz(21.2728, 10.3225, 63.1463)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801FD4 #73D41F
analogous
#261FD4 #801FD4 #D41FCD
triadic
#801FD4 #D4801F #1FD480
tetradic
#801FD4 #D4261F #73D41F #1FCDD4
square
#801FD4 #D4261F #73D41F #1FCDD4
split-complementary
#801FD4 #CDD41F #1FD426
monochromatic
#400F69 #60179F #801FD4 #9E4BE5 #BB81ED

Accessibility & contrast

On white

6.85
#801FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#801FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #801FD4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801FD4#FFFFFF#000000##FFFFFF
##801FD41.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D9
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#6D567F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #801fd4;
/* rgb */ color: rgb(128, 31, 212);
/* oklch */ color: oklch(50.1% 0.245 301.5);
Tailwind
colors: {
  custom: {
    50: '#ad6be2',
    500: '#801fd4',
    950: '#000000',
  },
}
SCSS
$custom: #801fd4;
$custom-light: #ad6be2;
$custom-dark: #000000;
JSON
{
  "hex": "#801fd4",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 212
  },
  "hsl": {
    "h": 272.155,
    "s": 74.486,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.24472,
    "h": 301.5
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#801FD4
secondary
#A4D57A
accent
#F1378D
background
#FBF6FE
surface
#F6ECFC
border
#D0C7D5
text
#110716
muted
#807A84

Preview Lab

Preview with #801FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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