#804EE1#804EE1

#804EE1 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.212 H 294.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#804EE1
RGBrgb(128, 78, 225)
HSLhsl(260, 71%, 59%)
HSVhsv(260, 65%, 88%)
CMYKcmyk(43.1%, 65.3%, 0%, 11.8%)
CIE-LABlab(46.28, 52.84, -67.58)
CIE-LCHlch(46.28, 85.78, 308.02°)
OKLaboklab(55.98% 0.0865 -0.1931)
OKLCHoklch(55.98% 0.212 294.1)
XYZxyz(25.2134, 15.4735, 72.8778)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804EE1 #AFE14E
analogous
#4E66E1 #804EE1 #C94EE1
triadic
#804EE1 #E1804E #4EE180
tetradic
#804EE1 #E14E66 #AFE14E #4EE1C9
square
#804EE1 #E14E66 #AFE14E #4EE1C9
split-complementary
#804EE1 #E1C94E #66E14E
monochromatic
#461A9A #5D23CF #804EE1 #A682EA #CBB7F3

Accessibility & contrast

On white

5.13
#804EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#804EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804EE1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804EE1#FFFFFF#000000##FFFFFF
##804EE11.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#657191
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #804ee1;
/* rgb */ color: rgb(128, 78, 225);
/* oklch */ color: oklch(56.0% 0.212 294.1);
Tailwind
colors: {
  custom: {
    50: '#ac82eb',
    500: '#804ee1',
    950: '#000000',
  },
}
SCSS
$custom: #804ee1;
$custom-light: #ac82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#804ee1",
  "rgb": {
    "r": 128,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 260.408,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55981,
    "c": 0.21161,
    "h": 294.1
  },
  "luminance": 0.15474
}

Semantic roles & 50–950 ramp

primary
#804EE1
secondary
#CFE2A9
accent
#EE3AB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #804EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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