#804AE1#804AE1

#804AE1 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.217 H 294.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#804AE1
RGBrgb(128, 74, 225)
HSLhsl(261, 72%, 59%)
HSVhsv(261, 67%, 88%)
CMYKcmyk(43.1%, 67.1%, 0%, 11.8%)
CIE-LABlab(45.53, 54.89, -68.79)
CIE-LCHlch(45.53, 88.01, 308.59°)
OKLaboklab(55.44% 0.0905 -0.1967)
OKLCHoklch(55.44% 0.217 294.7)
XYZxyz(24.9378, 14.9224, 72.7860)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804AE1 #ABE14A
analogous
#4A5FE1 #804AE1 #CB4AE1
triadic
#804AE1 #E1804A #4AE180
tetradic
#804AE1 #E14A5F #ABE14A #4AE1CB
square
#804AE1 #E14A5F #ABE14A #4AE1CB
split-complementary
#804AE1 #E1CB4A #5FE14A
monochromatic
#461997 #5F22CC #804AE1 #A57EEA #CAB3F2

Accessibility & contrast

On white

5.27
#804AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#804AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804AE1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804AE1#FFFFFF#000000##FFFFFF
##804AE11.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#656F90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #804ae1;
/* rgb */ color: rgb(128, 74, 225);
/* oklch */ color: oklch(55.4% 0.217 294.7);
Tailwind
colors: {
  custom: {
    50: '#ac80eb',
    500: '#804ae1',
    950: '#000000',
  },
}
SCSS
$custom: #804ae1;
$custom-light: #ac80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#804ae1",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 261.457,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55444,
    "c": 0.21652,
    "h": 294.7
  },
  "luminance": 0.14923
}

Semantic roles & 50–950 ramp

primary
#804AE1
secondary
#CCE1A6
accent
#EE39AE
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #804AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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