#804199#804199

#804199 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.2% C 0.148 H 315.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#804199
RGBrgb(128, 65, 153)
HSLhsl(283, 40%, 43%)
HSVhsv(283, 58%, 60%)
CMYKcmyk(16.3%, 57.5%, 0%, 40%)
CIE-LABlab(39.02, 42.00, -37.16)
CIE-LCHlch(39.02, 56.08, 318.50°)
OKLaboklab(49.21% 0.1052 -0.1038)
OKLCHoklch(49.21% 0.148 315.4)
XYZxyz(16.5413, 10.6702, 31.3190)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804199 #5A9941
analogous
#544199 #804199 #994186
triadic
#804199 #998041 #419980
tetradic
#804199 #995441 #5A9941 #418699
square
#804199 #995441 #5A9941 #418699
split-complementary
#804199 #869941 #419954
monochromatic
#381D43 #5C2F6E #804199 #A05DBA #B988CC

Accessibility & contrast

On white

6.70
#804199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#804199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804199
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804199#FFFFFF#000000##FFFFFF
##8041991.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#7E5067
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #804199;
/* rgb */ color: rgb(128, 65, 153);
/* oklch */ color: oklch(49.2% 0.148 315.4);
Tailwind
colors: {
  custom: {
    50: '#a779b7',
    500: '#804199',
    950: '#000000',
  },
}
SCSS
$custom: #804199;
$custom-light: #a779b7;
$custom-dark: #000000;
JSON
{
  "hex": "#804199",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 282.955,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.14782,
    "h": 315.4
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#804199
secondary
#8FB77F
accent
#D0587A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804199

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

Preview Lab → · Contrast checker → · Palette generator →

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