#804AC8#804AC8

#804AC8 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.188 H 299.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#804AC8
RGBrgb(128, 74, 200)
HSLhsl(266, 53%, 54%)
HSVhsv(266, 63%, 78%)
CMYKcmyk(36%, 63%, 0%, 21.6%)
CIE-LABlab(43.74, 48.45, -57.36)
CIE-LCHlch(43.74, 75.09, 310.19°)
OKLaboklab(53.59% 0.0933 -0.1631)
OKLCHoklch(53.59% 0.188 299.8)
XYZxyz(21.7736, 13.6567, 56.1213)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804AC8 #92C84A
analogous
#4A53C8 #804AC8 #BF4AC8
triadic
#804AC8 #C8804A #4AC880
tetradic
#804AC8 #C84A53 #92C84A #4AC8BF
square
#804AC8 #C84A53 #92C84A #4AC8BF
split-complementary
#804AC8 #C8BF4A #53C84A
monochromatic
#462374 #6232A3 #804AC8 #A179D6 #C2A8E5

Accessibility & contrast

On white

5.63
#804AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#804AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804AC8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804AC8#FFFFFF#000000##FFFFFF
##804AC81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#1366C5
Tritanopia (blue-blind)
#706682
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #804ac8;
/* rgb */ color: rgb(128, 74, 200);
/* oklch */ color: oklch(53.6% 0.188 299.8);
Tailwind
colors: {
  custom: {
    50: '#aa7fd9',
    500: '#804ac8',
    950: '#000000',
  },
}
SCSS
$custom: #804ac8;
$custom-light: #aa7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#804ac8",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 265.714,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.18786,
    "h": 299.8
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #804AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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