#804ACF#804ACF

#804ACF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.196 H 298.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#804ACF
RGBrgb(128, 74, 207)
HSLhsl(264, 58%, 55%)
HSVhsv(264, 64%, 81%)
CMYKcmyk(38.2%, 64.3%, 0%, 18.8%)
CIE-LABlab(44.22, 50.24, -60.62)
CIE-LCHlch(44.22, 78.73, 309.65°)
OKLaboklab(54.09% 0.0927 -0.1727)
OKLCHoklch(54.09% 0.196 298.2)
XYZxyz(22.6105, 13.9914, 60.5288)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804ACF #99CF4A
analogous
#4A56CF #804ACF #C34ACF
triadic
#804ACF #CF804A #4ACF80
tetradic
#804ACF #CF4A56 #99CF4A #4ACFC3
square
#804ACF #CF4A56 #99CF4A #4ACFC3
split-complementary
#804ACF #CFC34A #56CF4A
monochromatic
#47217D #622EAE #804ACF #A27ADC #C4ABE9

Accessibility & contrast

On white

5.53
#804ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#804ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804ACF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804ACF#FFFFFF#000000##FFFFFF
##804ACF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#6D6886
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #804acf;
/* rgb */ color: rgb(128, 74, 207);
/* oklch */ color: oklch(54.1% 0.196 298.2);
Tailwind
colors: {
  custom: {
    50: '#aa80de',
    500: '#804acf',
    950: '#000000',
  },
}
SCSS
$custom: #804acf;
$custom-light: #aa80de;
$custom-dark: #000000;
JSON
{
  "hex": "#804acf",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 264.361,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.19596,
    "h": 298.2
  },
  "luminance": 0.13992
}

Semantic roles & 50–950 ramp

primary
#804ACF
secondary
#C0D69F
accent
#E146A2
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #804ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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