#804AD3#804AD3

#804AD3 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.201 H 297.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#804AD3
RGBrgb(128, 74, 211)
HSLhsl(264, 61%, 56%)
HSVhsv(264, 65%, 83%)
CMYKcmyk(39.3%, 64.9%, 0%, 17.3%)
CIE-LABlab(44.50, 51.26, -62.46)
CIE-LCHlch(44.50, 80.80, 309.38°)
OKLaboklab(54.39% 0.0923 -0.1781)
OKLCHoklch(54.39% 0.201 297.4)
XYZxyz(23.1057, 14.1895, 63.1369)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804AD3 #9DD34A
analogous
#4A58D3 #804AD3 #C54AD3
triadic
#804AD3 #D3804A #4AD380
tetradic
#804AD3 #D34A58 #9DD34A #4AD3C5
square
#804AD3 #D34A58 #9DD34A #4AD3C5
split-complementary
#804AD3 #D3C54A #58D34A
monochromatic
#472083 #612CB4 #804AD3 #A37BDF #C5ACEB

Accessibility & contrast

On white

5.47
#804AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#804AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804AD3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804AD3#FFFFFF#000000##FFFFFF
##804AD31.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#6C6A88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #804ad3;
/* rgb */ color: rgb(128, 74, 211);
/* oklch */ color: oklch(54.4% 0.201 297.4);
Tailwind
colors: {
  custom: {
    50: '#ab80e1',
    500: '#804ad3',
    950: '#000000',
  },
}
SCSS
$custom: #804ad3;
$custom-light: #ab80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#804ad3",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 211
  },
  "hsl": {
    "h": 263.65,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54386,
    "c": 0.20057,
    "h": 297.4
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#804AD3
secondary
#C2D9A0
accent
#E444A5
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #804AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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