#804AC1#804AC1

#804AC1 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.180 H 301.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#804AC1
RGBrgb(128, 74, 193)
HSLhsl(267, 49%, 52%)
HSVhsv(267, 62%, 76%)
CMYKcmyk(33.7%, 61.7%, 0%, 24.3%)
CIE-LABlab(43.27, 46.69, -54.06)
CIE-LCHlch(43.27, 71.43, 310.82°)
OKLaboklab(53.1% 0.0937 -0.1534)
OKLCHoklch(53.1% 0.18 301.4)
XYZxyz(20.9742, 13.3369, 51.9110)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804AC1 #8BC14A
analogous
#4A50C1 #804AC1 #BC4AC1
triadic
#804AC1 #C1804A #4AC180
tetradic
#804AC1 #C14A50 #8BC14A #4AC1BC
square
#804AC1 #C14A50 #8BC14A #4AC1BC
split-complementary
#804AC1 #C1BC4A #50C14A
monochromatic
#45256C #623599 #804AC1 #A078D1 #C0A5E0

Accessibility & contrast

On white

5.73
#804AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#804AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804AC1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804AC1#FFFFFF#000000##FFFFFF
##804AC11.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#2366BE
Tritanopia (blue-blind)
#73637E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #804ac1;
/* rgb */ color: rgb(128, 74, 193);
/* oklch */ color: oklch(53.1% 0.180 301.4);
Tailwind
colors: {
  custom: {
    50: '#a97fd4',
    500: '#804ac1',
    950: '#000000',
  },
}
SCSS
$custom: #804ac1;
$custom-light: #a97fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#804ac1",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 193
  },
  "hsl": {
    "h": 267.227,
    "s": 48.971,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53098,
    "c": 0.17972,
    "h": 301.4
  },
  "luminance": 0.13337
}

Semantic roles & 50–950 ramp

primary
#804AC1
secondary
#B6CD99
accent
#D94F9A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #804AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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