#804EE9#804EE9

#804EE9 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.221 H 292.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#804EE9
RGBrgb(128, 78, 233)
HSLhsl(259, 78%, 61%)
HSVhsv(259, 67%, 91%)
CMYKcmyk(45.1%, 66.5%, 0%, 8.6%)
CIE-LABlab(46.87, 54.95, -71.14)
CIE-LCHlch(46.87, 89.89, 307.69°)
OKLaboklab(56.59% 0.0855 -0.2036)
OKLCHoklch(56.59% 0.221 292.8)
XYZxyz(26.3304, 15.9203, 78.7606)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804EE9 #B7E94E
analogous
#4E69E9 #804EE9 #CD4EE9
triadic
#804EE9 #E9804E #4EE980
tetradic
#804EE9 #E94E69 #B7E94E #4EE9CD
square
#804EE9 #E94E69 #B7E94E #4EE9CD
split-complementary
#804EE9 #E9CD4E #69E94E
monochromatic
#4415A8 #5A1CDE #804EE9 #A784F0 #CEBBF7

Accessibility & contrast

On white

5.02
#804EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#804EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804EE9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804EE9#FFFFFF#000000##FFFFFF
##804EE91.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#617495
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #804ee9;
/* rgb */ color: rgb(128, 78, 233);
/* oklch */ color: oklch(56.6% 0.221 292.8);
Tailwind
colors: {
  custom: {
    50: '#ad83f1',
    500: '#804ee9',
    950: '#000000',
  },
}
SCSS
$custom: #804ee9;
$custom-light: #ad83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#804ee9",
  "rgb": {
    "r": 128,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 259.355,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.22081,
    "h": 292.8
  },
  "luminance": 0.15921
}

Semantic roles & 50–950 ramp

primary
#804EE9
secondary
#D4E7AC
accent
#DA0B97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #804EE9

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

Preview Lab → · Contrast checker → · Palette generator →

#804EE9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva