#804CC1#804CC1

#804CC1 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.177 H 301.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#804CC1
RGBrgb(128, 76, 193)
HSLhsl(267, 49%, 53%)
HSVhsv(267, 61%, 76%)
CMYKcmyk(33.7%, 60.6%, 0%, 24.3%)
CIE-LABlab(43.67, 45.62, -53.41)
CIE-LCHlch(43.67, 70.24, 310.50°)
OKLaboklab(53.39% 0.0913 -0.1515)
OKLCHoklch(53.39% 0.177 301.1)
XYZxyz(21.1099, 13.6082, 51.9562)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CC1 #8DC14C
analogous
#4C52C1 #804CC1 #BB4CC1
triadic
#804CC1 #C1804C #4CC180
tetradic
#804CC1 #C14C52 #8DC14C #4CC1BB
square
#804CC1 #C14C52 #8DC14C #4CC1BB
split-complementary
#804CC1 #C1BB4C #52C14C
monochromatic
#45266D #62359A #804CC1 #A079D1 #C1A7E0

Accessibility & contrast

On white

5.64
#804CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#804CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CC1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CC1#FFFFFF#000000##FFFFFF
##804CC11.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C5
Deuteranopia (green-blind)
#2767BE
Tritanopia (blue-blind)
#73657F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #804cc1;
/* rgb */ color: rgb(128, 76, 193);
/* oklch */ color: oklch(53.4% 0.177 301.1);
Tailwind
colors: {
  custom: {
    50: '#a980d4',
    500: '#804cc1',
    950: '#000000',
  },
}
SCSS
$custom: #804cc1;
$custom-light: #a980d4;
$custom-dark: #000000;
JSON
{
  "hex": "#804cc1",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 266.667,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.17687,
    "h": 301.1
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#804CC1
secondary
#B7CE9B
accent
#D8509B
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #804CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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