#804AC9#804AC9

#804AC9 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.189 H 299.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#804AC9
RGBrgb(128, 74, 201)
HSLhsl(266, 54%, 54%)
HSVhsv(266, 63%, 79%)
CMYKcmyk(36.3%, 63.2%, 0%, 21.2%)
CIE-LABlab(43.80, 48.71, -57.83)
CIE-LCHlch(43.80, 75.61, 310.11°)
OKLaboklab(53.66% 0.0932 -0.1645)
OKLCHoklch(53.66% 0.189 299.5)
XYZxyz(21.8909, 13.7036, 56.7388)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804AC9 #93C94A
analogous
#4A54C9 #804AC9 #C04AC9
triadic
#804AC9 #C9804A #4AC980
tetradic
#804AC9 #C94A54 #93C94A #4AC9C0
square
#804AC9 #C94A54 #93C94A #4AC9C0
split-complementary
#804AC9 #C9C04A #54C94A
monochromatic
#462376 #6231A5 #804AC9 #A179D7 #C2A8E5

Accessibility & contrast

On white

5.61
#804AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#804AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804AC9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804AC9#FFFFFF#000000##FFFFFF
##804AC91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#1066C6
Tritanopia (blue-blind)
#706683
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #804ac9;
/* rgb */ color: rgb(128, 74, 201);
/* oklch */ color: oklch(53.7% 0.189 299.5);
Tailwind
colors: {
  custom: {
    50: '#aa7fda',
    500: '#804ac9',
    950: '#000000',
  },
}
SCSS
$custom: #804ac9;
$custom-light: #aa7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#804ac9",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 201
  },
  "hsl": {
    "h": 265.512,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5366,
    "c": 0.18903,
    "h": 299.5
  },
  "luminance": 0.13704
}

Semantic roles & 50–950 ramp

primary
#804AC9
secondary
#BBD29C
accent
#DD4A9F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #804AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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