#804686#804686

#804686 is a mid, moderate purple. Relative luminance 0.107; OKLCH L 48.9% C 0.119 H 323.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#804686
RGBrgb(128, 70, 134)
HSLhsl(294, 31%, 40%)
HSVhsv(294, 48%, 53%)
CMYKcmyk(4.5%, 47.8%, 0%, 47.5%)
CIE-LABlab(39.06, 35.24, -25.56)
CIE-LCHlch(39.06, 43.53, 324.05°)
OKLaboklab(48.91% 0.0956 -0.0703)
OKLCHoklch(48.91% 0.119 323.7)
XYZxyz(15.3949, 10.6914, 23.8024)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804686 #4C8646
analogous
#604686 #804686 #86466C
triadic
#804686 #868046 #468680
tetradic
#804686 #866046 #4C8646 #466C86
square
#804686 #866046 #4C8646 #466C86
split-complementary
#804686 #6C8646 #468660
monochromatic
#331C36 #5A315E #804686 #A45EAB #BB86C0

Accessibility & contrast

On white

6.69
#804686 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#804686 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804686
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804686#FFFFFF#000000##FFFFFF
##8046861.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5888
Deuteranopia (green-blind)
#4F5E84
Tritanopia (blue-blind)
#824E60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #804686;
/* rgb */ color: rgb(128, 70, 134);
/* oklch */ color: oklch(48.9% 0.119 323.7);
Tailwind
colors: {
  custom: {
    50: '#a67ba9',
    500: '#804686',
    950: '#000000',
  },
}
SCSS
$custom: #804686;
$custom-light: #a67ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#804686",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 294.375,
    "s": 31.373,
    "l": 40
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.11868,
    "h": 323.7
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#804686
secondary
#81AB7C
accent
#C8606A
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #804686

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

Preview Lab → · Contrast checker → · Palette generator →

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