#804288#804288

#804288 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.4% C 0.128 H 322.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#804288
RGBrgb(128, 66, 136)
HSLhsl(293, 35%, 40%)
HSVhsv(293, 51%, 53%)
CMYKcmyk(5.9%, 51.5%, 0%, 46.7%)
CIE-LABlab(38.31, 37.85, -27.94)
CIE-LCHlch(38.31, 47.05, 323.56°)
OKLaboklab(48.39% 0.102 -0.0771)
OKLCHoklch(48.39% 0.128 322.9)
XYZxyz(15.2938, 10.2639, 24.4633)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804288 #4A8842
analogous
#5D4288 #804288 #88426D
triadic
#804288 #888042 #428880
tetradic
#804288 #885D42 #4A8842 #426D88
square
#804288 #885D42 #4A8842 #426D88
split-complementary
#804288 #6D8842 #42885D
monochromatic
#321A36 #592E5F #804288 #A559AE #BB82C2

Accessibility & contrast

On white

6.88
#804288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#804288 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804288
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804288#FFFFFF#000000##FFFFFF
##8042881.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568A
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#824B5F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #804288;
/* rgb */ color: rgb(128, 66, 136);
/* oklch */ color: oklch(48.4% 0.128 322.9);
Tailwind
colors: {
  custom: {
    50: '#a779ab',
    500: '#804288',
    950: '#000000',
  },
}
SCSS
$custom: #804288;
$custom-light: #a779ab;
$custom-dark: #000000;
JSON
{
  "hex": "#804288",
  "rgb": {
    "r": 128,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 293.143,
    "s": 34.653,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48392,
    "c": 0.12788,
    "h": 322.9
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#804288
secondary
#7FAD79
accent
#CB5D6A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #804288

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

Preview Lab → · Contrast checker → · Palette generator →

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