#804194#804194

#804194 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 48.9% C 0.142 H 317.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#804194
RGBrgb(128, 65, 148)
HSLhsl(286, 39%, 42%)
HSVhsv(286, 56%, 58%)
CMYKcmyk(13.5%, 56.1%, 0%, 42%)
CIE-LABlab(38.74, 40.91, -34.58)
CIE-LCHlch(38.74, 53.57, 319.80°)
OKLaboklab(48.91% 0.1049 -0.0963)
OKLCHoklch(48.91% 0.142 317.4)
XYZxyz(16.1369, 10.5085, 29.1895)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804194 #559441
analogous
#574194 #804194 #94417F
triadic
#804194 #948041 #419480
tetradic
#804194 #945741 #559441 #417F94
square
#804194 #945741 #559441 #417F94
split-complementary
#804194 #7F9441 #419457
monochromatic
#361C3F #5B2E69 #804194 #A15BB7 #B986CA

Accessibility & contrast

On white

6.77
#804194 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#804194 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804194
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804194#FFFFFF#000000##FFFFFF
##8041941.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5797
Deuteranopia (green-blind)
#445D92
Tritanopia (blue-blind)
#7F4E64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #804194;
/* rgb */ color: rgb(128, 65, 148);
/* oklch */ color: oklch(48.9% 0.142 317.4);
Tailwind
colors: {
  custom: {
    50: '#a779b4',
    500: '#804194',
    950: '#000000',
  },
}
SCSS
$custom: #804194;
$custom-light: #a779b4;
$custom-dark: #000000;
JSON
{
  "hex": "#804194",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 148
  },
  "hsl": {
    "h": 285.542,
    "s": 38.967,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48913,
    "c": 0.14238,
    "h": 317.4
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#804194
secondary
#8AB47C
accent
#CF5975
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804194

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

Preview Lab → · Contrast checker → · Palette generator →

#804194 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva