#804697#804697

#804697 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 49.8% C 0.137 H 315.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#804697
RGBrgb(128, 70, 151)
HSLhsl(283, 37%, 43%)
HSVhsv(283, 54%, 59%)
CMYKcmyk(15.2%, 53.6%, 0%, 40.8%)
CIE-LABlab(39.92, 38.87, -34.52)
CIE-LCHlch(39.92, 51.99, 318.39°)
OKLaboklab(49.84% 0.098 -0.0962)
OKLCHoklch(49.84% 0.137 315.5)
XYZxyz(16.6773, 11.2044, 30.5563)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804697 #5D9746
analogous
#574697 #804697 #974685
triadic
#804697 #978046 #469780
tetradic
#804697 #975746 #5D9746 #468597
square
#804697 #975746 #5D9746 #468597
split-complementary
#804697 #859746 #469757
monochromatic
#391F43 #5D336D #804697 #9F63B7 #B98DCA

Accessibility & contrast

On white

6.48
#804697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#804697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804697
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804697#FFFFFF#000000##FFFFFF
##8046971.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9A
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#7F5368
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #804697;
/* rgb */ color: rgb(128, 70, 151);
/* oklch */ color: oklch(49.8% 0.137 315.5);
Tailwind
colors: {
  custom: {
    50: '#a77cb6',
    500: '#804697',
    950: '#000000',
  },
}
SCSS
$custom: #804697;
$custom-light: #a77cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#804697",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 282.963,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.13734,
    "h": 315.5
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#804697
secondary
#91B683
accent
#CD5B7B
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804697

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

Preview Lab → · Contrast checker → · Palette generator →

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