#804ACE#804ACE

#804ACE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.195 H 298.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#804ACE
RGBrgb(128, 74, 206)
HSLhsl(265, 57%, 55%)
HSVhsv(265, 64%, 81%)
CMYKcmyk(37.9%, 64.1%, 0%, 19.2%)
CIE-LABlab(44.15, 49.98, -60.16)
CIE-LCHlch(44.15, 78.21, 309.72°)
OKLaboklab(54.02% 0.0928 -0.1713)
OKLCHoklch(54.02% 0.195 298.4)
XYZxyz(22.4886, 13.9427, 59.8869)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804ACE #98CE4A
analogous
#4A56CE #804ACE #C24ACE
triadic
#804ACE #CE804A #4ACE80
tetradic
#804ACE #CE4A56 #98CE4A #4ACEC2
square
#804ACE #CE4A56 #98CE4A #4ACEC2
split-complementary
#804ACE #CEC24A #56CE4A
monochromatic
#47227C #622FAC #804ACE #A27ADB #C4AAE8

Accessibility & contrast

On white

5.54
#804ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#804ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804ACE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804ACE#FFFFFF#000000##FFFFFF
##804ACE1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#6E6885
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #804ace;
/* rgb */ color: rgb(128, 74, 206);
/* oklch */ color: oklch(54.0% 0.195 298.4);
Tailwind
colors: {
  custom: {
    50: '#aa80de',
    500: '#804ace',
    950: '#000000',
  },
}
SCSS
$custom: #804ace;
$custom-light: #aa80de;
$custom-dark: #000000;
JSON
{
  "hex": "#804ace",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 206
  },
  "hsl": {
    "h": 264.545,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.19481,
    "h": 298.4
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#804ACE
secondary
#BFD69E
accent
#E147A2
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #804ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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