#804ADA#804ADA

#804ADA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.209 H 296.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#804ADA
RGBrgb(128, 74, 218)
HSLhsl(263, 66%, 57%)
HSVhsv(263, 66%, 85%)
CMYKcmyk(41.3%, 66.1%, 0%, 14.5%)
CIE-LABlab(45.01, 53.07, -65.65)
CIE-LCHlch(45.01, 84.42, 308.95°)
OKLaboklab(54.91% 0.0915 -0.1874)
OKLCHoklch(54.91% 0.209 296)
XYZxyz(24.0024, 14.5482, 67.8595)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804ADA #A4DA4A
analogous
#4A5CDA #804ADA #C84ADA
triadic
#804ADA #DA804A #4ADA80
tetradic
#804ADA #DA4A5C #A4DA4A #4ADAC8
square
#804ADA #DA4A5C #A4DA4A #4ADAC8
split-complementary
#804ADA #DAC84A #5CDA4A
monochromatic
#471D8D #6027C0 #804ADA #A47DE4 #C7B0EF

Accessibility & contrast

On white

5.37
#804ADA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#804ADA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804ADA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804ADA#FFFFFF#000000##FFFFFF
##804ADA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#696C8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #804ada;
/* rgb */ color: rgb(128, 74, 218);
/* oklch */ color: oklch(54.9% 0.209 296.0);
Tailwind
colors: {
  custom: {
    50: '#ab80e6',
    500: '#804ada',
    950: '#000000',
  },
}
SCSS
$custom: #804ada;
$custom-light: #ab80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#804ada",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 218
  },
  "hsl": {
    "h": 262.5,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54909,
    "c": 0.20858,
    "h": 296
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#804ADA
secondary
#C7DDA3
accent
#E93FA9
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #804ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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