#804CC3#804CC3

#804CC3 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.179 H 300.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#804CC3
RGBrgb(128, 76, 195)
HSLhsl(266, 50%, 53%)
HSVhsv(266, 61%, 76%)
CMYKcmyk(34.4%, 61%, 0%, 23.5%)
CIE-LABlab(43.80, 46.12, -54.37)
CIE-LCHlch(43.80, 71.30, 310.31°)
OKLaboklab(53.53% 0.0912 -0.1543)
OKLCHoklch(53.53% 0.179 300.6)
XYZxyz(21.3345, 13.6981, 53.1392)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CC3 #8FC34C
analogous
#4C53C3 #804CC3 #BB4CC3
triadic
#804CC3 #C3804C #4CC380
tetradic
#804CC3 #C34C53 #8FC34C #4CC3BB
square
#804CC3 #C34C53 #8FC34C #4CC3BB
split-complementary
#804CC3 #C3BB4C #53C34C
monochromatic
#46256F #62359D #804CC3 #A17AD2 #C1A8E2

Accessibility & contrast

On white

5.62
#804CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#804CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CC3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CC3#FFFFFF#000000##FFFFFF
##804CC31.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#2367C0
Tritanopia (blue-blind)
#726580
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #804cc3;
/* rgb */ color: rgb(128, 76, 195);
/* oklch */ color: oklch(53.5% 0.179 300.6);
Tailwind
colors: {
  custom: {
    50: '#a980d6',
    500: '#804cc3',
    950: '#000000',
  },
}
SCSS
$custom: #804cc3;
$custom-light: #a980d6;
$custom-dark: #000000;
JSON
{
  "hex": "#804cc3",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 266.218,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53526,
    "c": 0.17922,
    "h": 300.6
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#804CC3
secondary
#B9CF9C
accent
#D94E9D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #804CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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