#804ACD#804ACD

#804ACD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.194 H 298.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#804ACD
RGBrgb(128, 74, 205)
HSLhsl(265, 57%, 55%)
HSVhsv(265, 64%, 80%)
CMYKcmyk(37.6%, 63.9%, 0%, 19.6%)
CIE-LABlab(44.08, 49.73, -59.69)
CIE-LCHlch(44.08, 77.69, 309.79°)
OKLaboklab(53.95% 0.0929 -0.1699)
OKLCHoklch(53.95% 0.194 298.7)
XYZxyz(22.3675, 13.8943, 59.2492)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804ACD #97CD4A
analogous
#4A56CD #804ACD #C24ACD
triadic
#804ACD #CD804A #4ACD80
tetradic
#804ACD #CD4A56 #97CD4A #4ACDC2
square
#804ACD #CD4A56 #97CD4A #4ACDC2
split-complementary
#804ACD #CDC24A #56CD4A
monochromatic
#47227B #622FAB #804ACD #A27ADA #C3AAE7

Accessibility & contrast

On white

5.56
#804ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#804ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804ACD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804ACD#FFFFFF#000000##FFFFFF
##804ACD1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#6E6785
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #804acd;
/* rgb */ color: rgb(128, 74, 205);
/* oklch */ color: oklch(53.9% 0.194 298.7);
Tailwind
colors: {
  custom: {
    50: '#aa7fdd',
    500: '#804acd',
    950: '#000000',
  },
}
SCSS
$custom: #804acd;
$custom-light: #aa7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#804acd",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 264.733,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.19366,
    "h": 298.7
  },
  "luminance": 0.13895
}

Semantic roles & 50–950 ramp

primary
#804ACD
secondary
#BED59E
accent
#E048A1
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #804ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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