#804ACA#804ACA

#804ACA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.190 H 299.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#804ACA
RGBrgb(128, 74, 202)
HSLhsl(265, 55%, 54%)
HSVhsv(265, 63%, 79%)
CMYKcmyk(36.6%, 63.4%, 0%, 20.8%)
CIE-LABlab(43.87, 48.96, -58.30)
CIE-LCHlch(43.87, 76.13, 310.03°)
OKLaboklab(53.73% 0.0931 -0.1658)
OKLCHoklch(53.73% 0.19 299.3)
XYZxyz(22.0089, 13.7508, 57.3603)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804ACA #94CA4A
analogous
#4A54CA #804ACA #C04ACA
triadic
#804ACA #CA804A #4ACA80
tetradic
#804ACA #CA4A54 #94CA4A #4ACAC0
square
#804ACA #CA4A54 #94CA4A #4ACAC0
split-complementary
#804ACA #CAC04A #54CA4A
monochromatic
#462377 #6231A6 #804ACA #A179D8 #C2A9E6

Accessibility & contrast

On white

5.60
#804ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#804ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804ACA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804ACA#FFFFFF#000000##FFFFFF
##804ACA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0C67C7
Tritanopia (blue-blind)
#6F6683
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #804aca;
/* rgb */ color: rgb(128, 74, 202);
/* oklch */ color: oklch(53.7% 0.190 299.3);
Tailwind
colors: {
  custom: {
    50: '#aa7fdb',
    500: '#804aca',
    950: '#000000',
  },
}
SCSS
$custom: #804aca;
$custom-light: #aa7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#804aca",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 265.313,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53731,
    "c": 0.19018,
    "h": 299.3
  },
  "luminance": 0.13751
}

Semantic roles & 50–950 ramp

primary
#804ACA
secondary
#BCD39D
accent
#DE4A9F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #804ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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