#804FC3#804FC3

#804FC3 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.175 H 300.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#804FC3
RGBrgb(128, 79, 195)
HSLhsl(265, 49%, 54%)
HSVhsv(265, 59%, 76%)
CMYKcmyk(34.4%, 59.5%, 0%, 23.5%)
CIE-LABlab(44.41, 44.50, -53.39)
CIE-LCHlch(44.41, 69.50, 309.81°)
OKLaboklab(53.97% 0.0876 -0.1514)
OKLCHoklch(53.97% 0.175 300)
XYZxyz(21.5460, 14.1211, 53.2097)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FC3 #92C34F
analogous
#4F58C3 #804FC3 #BA4FC3
triadic
#804FC3 #C3804F #4FC380
tetradic
#804FC3 #C34F58 #92C34F #4FC3BA
square
#804FC3 #C34F58 #92C34F #4FC3BA
split-complementary
#804FC3 #C3BA4F #58C34F
monochromatic
#462771 #62369F #804FC3 #A17DD3 #C2AAE2

Accessibility & contrast

On white

5.49
#804FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#804FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FC3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FC3#FFFFFF#000000##FFFFFF
##804FC31.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B69C7
Deuteranopia (green-blind)
#2968C0
Tritanopia (blue-blind)
#726781
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #804fc3;
/* rgb */ color: rgb(128, 79, 195);
/* oklch */ color: oklch(54.0% 0.175 300.0);
Tailwind
colors: {
  custom: {
    50: '#a982d6',
    500: '#804fc3',
    950: '#000000',
  },
}
SCSS
$custom: #804fc3;
$custom-light: #a982d6;
$custom-dark: #000000;
JSON
{
  "hex": "#804fc3",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 265.345,
    "s": 49.153,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5397,
    "c": 0.17492,
    "h": 300
  },
  "luminance": 0.14121
}

Semantic roles & 50–950 ramp

primary
#804FC3
secondary
#BBD09E
accent
#D94F9F
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #804FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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