#804ACB#804ACB

#804ACB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.191 H 299.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#804ACB
RGBrgb(128, 74, 203)
HSLhsl(265, 55%, 54%)
HSVhsv(265, 64%, 80%)
CMYKcmyk(36.9%, 63.5%, 0%, 20.4%)
CIE-LABlab(43.94, 49.22, -58.76)
CIE-LCHlch(43.94, 76.65, 309.95°)
OKLaboklab(53.8% 0.093 -0.1672)
OKLCHoklch(53.8% 0.191 299.1)
XYZxyz(22.1277, 13.7983, 57.9859)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804ACB #95CB4A
analogous
#4A55CB #804ACB #C04ACB
triadic
#804ACB #CB804A #4ACB80
tetradic
#804ACB #CB4A55 #95CB4A #4ACBC0
square
#804ACB #CB4A55 #95CB4A #4ACBC0
split-complementary
#804ACB #CBC04A #55CB4A
monochromatic
#462378 #6230A8 #804ACB #A17AD9 #C3A9E6

Accessibility & contrast

On white

5.59
#804ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#804ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804ACB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804ACB#FFFFFF#000000##FFFFFF
##804ACB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0767C8
Tritanopia (blue-blind)
#6F6784
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #804acb;
/* rgb */ color: rgb(128, 74, 203);
/* oklch */ color: oklch(53.8% 0.191 299.1);
Tailwind
colors: {
  custom: {
    50: '#aa7fdc',
    500: '#804acb',
    950: '#000000',
  },
}
SCSS
$custom: #804acb;
$custom-light: #aa7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#804acb",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 265.116,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.19135,
    "h": 299.1
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

primary
#804ACB
secondary
#BDD49D
accent
#DF49A0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #804ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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