#804D96#804D96

#804D96 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 50.9% C 0.124 H 314.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#804D96
RGBrgb(128, 77, 150)
HSLhsl(282, 32%, 45%)
HSVhsv(282, 49%, 59%)
CMYKcmyk(14.7%, 48.7%, 0%, 41.2%)
CIE-LABlab(41.37, 34.74, -31.63)
CIE-LCHlch(41.37, 46.99, 317.68°)
OKLaboklab(50.89% 0.0877 -0.0878)
OKLCHoklch(50.89% 0.124 314.9)
XYZxyz(17.0601, 12.0994, 30.2850)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804D96 #63964D
analogous
#5C4D96 #804D96 #964D88
triadic
#804D96 #96804D #4D9680
tetradic
#804D96 #965C4D #63964D #4D8896
square
#804D96 #965C4D #63964D #4D8896
split-complementary
#804D96 #88964D #4D965C
monochromatic
#3B2345 #5D386E #804D96 #9E6CB4 #B995C9

Accessibility & contrast

On white

6.14
#804D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#804D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804D96
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804D96#FFFFFF#000000##FFFFFF
##804D961.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#7F586A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #804d96;
/* rgb */ color: rgb(128, 77, 150);
/* oklch */ color: oklch(50.9% 0.124 314.9);
Tailwind
colors: {
  custom: {
    50: '#a680b5',
    500: '#804d96',
    950: '#000000',
  },
}
SCSS
$custom: #804d96;
$custom-light: #a680b5;
$custom-dark: #000000;
JSON
{
  "hex": "#804d96",
  "rgb": {
    "r": 128,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 281.918,
    "s": 32.159,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.1241,
    "h": 314.9
  },
  "luminance": 0.12099
}

Semantic roles & 50–950 ramp

primary
#804D96
secondary
#97B58A
accent
#C85F7F
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #804D96

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

Preview Lab → · Contrast checker → · Palette generator →

#804D96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva