#804692#804692

#804692 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.6% C 0.132 H 317.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#804692
RGBrgb(128, 70, 146)
HSLhsl(286, 35%, 42%)
HSVhsv(286, 52%, 57%)
CMYKcmyk(12.3%, 52.1%, 0%, 42.7%)
CIE-LABlab(39.66, 37.78, -31.92)
CIE-LCHlch(39.66, 49.46, 319.80°)
OKLaboklab(49.55% 0.0975 -0.0886)
OKLCHoklch(49.55% 0.132 317.7)
XYZxyz(16.2798, 11.0454, 28.4630)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804692 #589246
analogous
#5A4692 #804692 #92467E
triadic
#804692 #928046 #469280
tetradic
#804692 #925A46 #589246 #467E92
square
#804692 #925A46 #589246 #467E92
split-complementary
#804692 #7E9246 #46925A
monochromatic
#371E3F #5C3269 #804692 #A062B4 #B98BC7

Accessibility & contrast

On white

6.54
#804692 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#804692 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804692
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804692#FFFFFF#000000##FFFFFF
##8046921.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A95
Deuteranopia (green-blind)
#495F90
Tritanopia (blue-blind)
#805165
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #804692;
/* rgb */ color: rgb(128, 70, 146);
/* oklch */ color: oklch(49.6% 0.132 317.7);
Tailwind
colors: {
  custom: {
    50: '#a77cb2',
    500: '#804692',
    950: '#000000',
  },
}
SCSS
$custom: #804692;
$custom-light: #a77cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#804692",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 146
  },
  "hsl": {
    "h": 285.789,
    "s": 35.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49553,
    "c": 0.13175,
    "h": 317.7
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#804692
secondary
#8DB381
accent
#CB5D77
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804692

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

Preview Lab → · Contrast checker → · Palette generator →

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