#804397#804397

#804397 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.4% C 0.142 H 315.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#804397
RGBrgb(128, 67, 151)
HSLhsl(284, 39%, 43%)
HSVhsv(284, 56%, 59%)
CMYKcmyk(15.2%, 55.6%, 0%, 40.8%)
CIE-LABlab(39.31, 40.50, -35.50)
CIE-LCHlch(39.31, 53.85, 318.77°)
OKLaboklab(49.38% 0.1023 -0.099)
OKLCHoklch(49.38% 0.142 315.9)
XYZxyz(16.4943, 10.8384, 30.4953)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804397 #5A9743
analogous
#564397 #804397 #974384
triadic
#804397 #978043 #439780
tetradic
#804397 #975643 #5A9743 #438497
square
#804397 #975643 #5A9743 #438497
split-complementary
#804397 #849743 #439756
monochromatic
#381D42 #5C306D #804397 #A05FB8 #B98ACB

Accessibility & contrast

On white

6.63
#804397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#804397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804397
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804397#FFFFFF#000000##FFFFFF
##8043971.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#445E95
Tritanopia (blue-blind)
#7F5066
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #804397;
/* rgb */ color: rgb(128, 67, 151);
/* oklch */ color: oklch(49.4% 0.142 315.9);
Tailwind
colors: {
  custom: {
    50: '#a77ab6',
    500: '#804397',
    950: '#000000',
  },
}
SCSS
$custom: #804397;
$custom-light: #a77ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#804397",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 283.571,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49383,
    "c": 0.14235,
    "h": 315.9
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#804397
secondary
#8FB680
accent
#CE5979
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804397

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

Preview Lab → · Contrast checker → · Palette generator →

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