#804FC9#804FC9

#804FC9 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.182 H 298.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#804FC9
RGBrgb(128, 79, 201)
HSLhsl(264, 53%, 55%)
HSVhsv(264, 61%, 79%)
CMYKcmyk(36.3%, 60.7%, 0%, 21.2%)
CIE-LABlab(44.80, 46.04, -56.23)
CIE-LCHlch(44.80, 72.67, 309.31°)
OKLaboklab(54.38% 0.0874 -0.1598)
OKLCHoklch(54.38% 0.182 298.7)
XYZxyz(22.2381, 14.3979, 56.8545)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FC9 #98C94F
analogous
#4F5BC9 #804FC9 #BD4FC9
triadic
#804FC9 #C9804F #4FC980
tetradic
#804FC9 #C94F5B #98C94F #4FC9BD
square
#804FC9 #C94F5B #98C94F #4FC9BD
split-complementary
#804FC9 #C9BD4F #5BC94F
monochromatic
#472579 #6233A7 #804FC9 #A27ED7 #C4ADE6

Accessibility & contrast

On white

5.41
#804FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#804FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FC9
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FC9#FFFFFF#000000##FFFFFF
##804FC91.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#1F69C6
Tritanopia (blue-blind)
#706984
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #804fc9;
/* rgb */ color: rgb(128, 79, 201);
/* oklch */ color: oklch(54.4% 0.182 298.7);
Tailwind
colors: {
  custom: {
    50: '#a983da',
    500: '#804fc9',
    950: '#000000',
  },
}
SCSS
$custom: #804fc9;
$custom-light: #a983da;
$custom-dark: #000000;
JSON
{
  "hex": "#804fc9",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 264.098,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54381,
    "c": 0.1821,
    "h": 298.7
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#804FC9
secondary
#BFD4A0
accent
#DC4BA2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #804FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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