#804FC1#804FC1

#804FC1 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.173 H 300.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#804FC1
RGBrgb(128, 79, 193)
HSLhsl(266, 48%, 53%)
HSVhsv(266, 59%, 76%)
CMYKcmyk(33.7%, 59.1%, 0%, 24.3%)
CIE-LABlab(44.28, 43.99, -52.43)
CIE-LCHlch(44.28, 68.44, 310.00°)
OKLaboklab(53.84% 0.0876 -0.1486)
OKLCHoklch(53.84% 0.173 300.5)
XYZxyz(21.3214, 14.0313, 52.0267)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FC1 #90C14F
analogous
#4F57C1 #804FC1 #B94FC1
triadic
#804FC1 #C1804F #4FC180
tetradic
#804FC1 #C14F57 #90C14F #4FC1B9
square
#804FC1 #C14F57 #90C14F #4FC1B9
split-complementary
#804FC1 #C1B94F #57C14F
monochromatic
#46276F #62379C #804FC1 #A17CD1 #C1AAE1

Accessibility & contrast

On white

5.52
#804FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#804FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FC1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FC1#FFFFFF#000000##FFFFFF
##804FC11.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1268C5
Deuteranopia (green-blind)
#2C68BE
Tritanopia (blue-blind)
#726780
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #804fc1;
/* rgb */ color: rgb(128, 79, 193);
/* oklch */ color: oklch(53.8% 0.173 300.5);
Tailwind
colors: {
  custom: {
    50: '#a982d4',
    500: '#804fc1',
    950: '#000000',
  },
}
SCSS
$custom: #804fc1;
$custom-light: #a982d4;
$custom-dark: #000000;
JSON
{
  "hex": "#804fc1",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 193
  },
  "hsl": {
    "h": 265.789,
    "s": 47.899,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.17251,
    "h": 300.5
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#804FC1
secondary
#B9CE9D
accent
#D7509D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #804FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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