#804690#804690

#804690 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.4% C 0.130 H 318.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#804690
RGBrgb(128, 70, 144)
HSLhsl(287, 35%, 42%)
HSVhsv(287, 51%, 56%)
CMYKcmyk(11.1%, 51.4%, 0%, 43.5%)
CIE-LABlab(39.55, 37.35, -30.87)
CIE-LCHlch(39.55, 48.45, 320.42°)
OKLaboklab(49.44% 0.0972 -0.0856)
OKLCHoklch(49.44% 0.13 318.6)
XYZxyz(16.1256, 10.9837, 27.6508)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804690 #569046
analogous
#5B4690 #804690 #90467B
triadic
#804690 #908046 #469080
tetradic
#804690 #905B46 #569046 #467B90
square
#804690 #905B46 #569046 #467B90
split-complementary
#804690 #7B9046 #46905B
monochromatic
#371E3E #5B3267 #804690 #A161B2 #B98AC6

Accessibility & contrast

On white

6.57
#804690 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#804690 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804690
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804690#FFFFFF#000000##FFFFFF
##8046901.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385993
Deuteranopia (green-blind)
#4A5F8E
Tritanopia (blue-blind)
#805164
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #804690;
/* rgb */ color: rgb(128, 70, 144);
/* oklch */ color: oklch(49.4% 0.130 318.6);
Tailwind
colors: {
  custom: {
    50: '#a77cb1',
    500: '#804690',
    950: '#000000',
  },
}
SCSS
$custom: #804690;
$custom-light: #a77cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#804690",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 144
  },
  "hsl": {
    "h": 287.027,
    "s": 34.579,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.12953,
    "h": 318.6
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#804690
secondary
#8BB280
accent
#CB5D75
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #804690

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

Preview Lab → · Contrast checker → · Palette generator →

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