#804698#804698

#804698 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 49.9% C 0.138 H 315.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#804698
RGBrgb(128, 70, 152)
HSLhsl(282, 37%, 44%)
HSVhsv(282, 54%, 60%)
CMYKcmyk(15.8%, 53.9%, 0%, 40.4%)
CIE-LABlab(39.98, 39.10, -35.04)
CIE-LCHlch(39.98, 52.50, 318.13°)
OKLaboklab(49.89% 0.0981 -0.0977)
OKLCHoklch(49.89% 0.138 315.1)
XYZxyz(16.7589, 11.2370, 30.9858)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804698 #5E9846
analogous
#574698 #804698 #984687
triadic
#804698 #988046 #469880
tetradic
#804698 #985746 #5E9846 #468798
square
#804698 #985746 #5E9846 #468798
split-complementary
#804698 #879846 #469857
monochromatic
#391F44 #5D336E #804698 #9F64B7 #B98ECB

Accessibility & contrast

On white

6.47
#804698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#804698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804698
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804698#FFFFFF#000000##FFFFFF
##8046981.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335B9B
Deuteranopia (green-blind)
#466096
Tritanopia (blue-blind)
#7E5368
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #804698;
/* rgb */ color: rgb(128, 70, 152);
/* oklch */ color: oklch(49.9% 0.138 315.1);
Tailwind
colors: {
  custom: {
    50: '#a77cb7',
    500: '#804698',
    950: '#000000',
  },
}
SCSS
$custom: #804698;
$custom-light: #a77cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#804698",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 282.439,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49894,
    "c": 0.13847,
    "h": 315.1
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#804698
secondary
#92B684
accent
#CD5B7C
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804698

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

Preview Lab → · Contrast checker → · Palette generator →

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