#804792#804792

#804792 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 49.7% C 0.130 H 317.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#804792
RGBrgb(128, 71, 146)
HSLhsl(286, 35%, 43%)
HSVhsv(286, 51%, 57%)
CMYKcmyk(12.3%, 51.4%, 0%, 42.7%)
CIE-LABlab(39.87, 37.23, -31.59)
CIE-LCHlch(39.87, 48.82, 319.68°)
OKLaboklab(49.71% 0.096 -0.0877)
OKLCHoklch(49.71% 0.13 317.6)
XYZxyz(16.3429, 11.1715, 28.4840)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804792 #599247
analogous
#5B4792 #804792 #92477E
triadic
#804792 #928047 #479280
tetradic
#804792 #925B47 #599247 #477E92
square
#804792 #925B47 #599247 #477E92
split-complementary
#804792 #7E9247 #47925B
monochromatic
#381F40 #5C3369 #804792 #A063B3 #B98CC7

Accessibility & contrast

On white

6.49
#804792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#804792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804792
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804792#FFFFFF#000000##FFFFFF
##8047921.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A95
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#805266
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #804792;
/* rgb */ color: rgb(128, 71, 146);
/* oklch */ color: oklch(49.7% 0.130 317.6);
Tailwind
colors: {
  custom: {
    50: '#a77cb2',
    500: '#804792',
    950: '#000000',
  },
}
SCSS
$custom: #804792;
$custom-light: #a77cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#804792",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 285.6,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49709,
    "c": 0.13001,
    "h": 317.6
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#804792
secondary
#8EB382
accent
#CB5D77
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #804792

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

Preview Lab → · Contrast checker → · Palette generator →

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