#804197#804197

#804197 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.1% C 0.146 H 316.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#804197
RGBrgb(128, 65, 151)
HSLhsl(284, 40%, 42%)
HSVhsv(284, 57%, 59%)
CMYKcmyk(15.2%, 57%, 0%, 40.8%)
CIE-LABlab(38.91, 41.57, -36.13)
CIE-LCHlch(38.91, 55.07, 319.00°)
OKLaboklab(49.09% 0.1051 -0.1008)
OKLCHoklch(49.09% 0.146 316.2)
XYZxyz(16.3775, 10.6047, 30.4564)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804197 #589741
analogous
#554197 #804197 #974183
triadic
#804197 #978041 #419780
tetradic
#804197 #975541 #589741 #418397
square
#804197 #975541 #589741 #418397
split-complementary
#804197 #839741 #419755
monochromatic
#371C41 #5C2F6C #804197 #A05CB9 #B987CB

Accessibility & contrast

On white

6.73
#804197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#804197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804197
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804197#FFFFFF#000000##FFFFFF
##8041971.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#425D95
Tritanopia (blue-blind)
#7F4F66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #804197;
/* rgb */ color: rgb(128, 65, 151);
/* oklch */ color: oklch(49.1% 0.146 316.2);
Tailwind
colors: {
  custom: {
    50: '#a779b6',
    500: '#804197',
    950: '#000000',
  },
}
SCSS
$custom: #804197;
$custom-light: #a779b6;
$custom-dark: #000000;
JSON
{
  "hex": "#804197",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 283.953,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49089,
    "c": 0.14563,
    "h": 316.2
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#804197
secondary
#8DB67E
accent
#D05878
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804197

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

Preview Lab → · Contrast checker → · Palette generator →

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