#804196#804196

#804196 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.0% C 0.145 H 316.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#804196
RGBrgb(128, 65, 150)
HSLhsl(284, 40%, 42%)
HSVhsv(284, 57%, 59%)
CMYKcmyk(14.7%, 56.7%, 0%, 41.2%)
CIE-LABlab(38.85, 41.35, -35.62)
CIE-LCHlch(38.85, 54.57, 319.26°)
OKLaboklab(49.03% 0.105 -0.0993)
OKLCHoklch(49.03% 0.145 316.6)
XYZxyz(16.2966, 10.5724, 30.0305)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804196 #579641
analogous
#564196 #804196 #964181
triadic
#804196 #968041 #419680
tetradic
#804196 #965641 #579641 #418196
square
#804196 #965641 #579641 #418196
split-complementary
#804196 #819641 #419656
monochromatic
#371C41 #5C2E6B #804196 #A05CB8 #B987CB

Accessibility & contrast

On white

6.74
#804196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#804196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804196
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804196#FFFFFF#000000##FFFFFF
##8041961.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5899
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#7F4F65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #804196;
/* rgb */ color: rgb(128, 65, 150);
/* oklch */ color: oklch(49.0% 0.145 316.6);
Tailwind
colors: {
  custom: {
    50: '#a779b5',
    500: '#804196',
    950: '#000000',
  },
}
SCSS
$custom: #804196;
$custom-light: #a779b5;
$custom-dark: #000000;
JSON
{
  "hex": "#804196",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 284.471,
    "s": 39.535,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.14455,
    "h": 316.6
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#804196
secondary
#8CB67D
accent
#CF5877
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804196

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

Preview Lab → · Contrast checker → · Palette generator →

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