#803496#803496

#803496 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 317.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#803496
RGBrgb(128, 52, 150)
HSLhsl(287, 49%, 40%)
HSVhsv(287, 65%, 59%)
CMYKcmyk(14.7%, 65.3%, 0%, 41.2%)
CIE-LABlab(36.46, 47.85, -39.42)
CIE-LCHlch(36.46, 62.00, 320.52°)
OKLaboklab(47.29% 0.1221 -0.1104)
OKLCHoklch(47.29% 0.165 317.9)
XYZxyz(15.6343, 9.2478, 29.8097)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803496 #4A9634
analogous
#4F3496 #803496 #96347B
triadic
#803496 #968034 #349680
tetradic
#803496 #964F34 #4A9634 #347B96
square
#803496 #964F34 #4A9634 #347B96
split-complementary
#803496 #7B9634 #34964F
monochromatic
#32143B #592469 #803496 #A548BF #BB75CF

Accessibility & contrast

On white

7.37
#803496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#803496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803496
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803496#FFFFFF#000000##FFFFFF
##8034961.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#385894
Tritanopia (blue-blind)
#7F4560
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #803496;
/* rgb */ color: rgb(128, 52, 150);
/* oklch */ color: oklch(47.3% 0.165 317.9);
Tailwind
colors: {
  custom: {
    50: '#a871b5',
    500: '#803496',
    950: '#000000',
  },
}
SCSS
$custom: #803496;
$custom-light: #a871b5;
$custom-dark: #000000;
JSON
{
  "hex": "#803496",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 286.531,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47288,
    "c": 0.16456,
    "h": 317.9
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#803496
secondary
#7FB86E
accent
#D8506E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803496

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

Preview Lab → · Contrast checker → · Palette generator →

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