#803196#803196

#803196 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.9% C 0.169 H 318.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#803196
RGBrgb(128, 49, 150)
HSLhsl(287, 51%, 39%)
HSVhsv(287, 67%, 59%)
CMYKcmyk(14.7%, 67.3%, 0%, 41.2%)
CIE-LABlab(35.96, 49.22, -40.21)
CIE-LCHlch(35.96, 63.56, 320.75°)
OKLaboklab(46.93% 0.1257 -0.1126)
OKLCHoklch(46.93% 0.169 318.1)
XYZxyz(15.5047, 8.9885, 29.7665)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803196 #479631
analogous
#4E3196 #803196 #96317A
triadic
#803196 #968031 #319680
tetradic
#803196 #964E31 #479631 #317A96
square
#803196 #964E31 #479631 #317A96
split-complementary
#803196 #7A9631 #31964E
monochromatic
#31133A #592268 #803196 #A643C1 #BC71D1

Accessibility & contrast

On white

7.51
#803196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#803196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803196
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803196#FFFFFF#000000##FFFFFF
##8031961.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094F99
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#80435F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #803196;
/* rgb */ color: rgb(128, 49, 150);
/* oklch */ color: oklch(46.9% 0.169 318.1);
Tailwind
colors: {
  custom: {
    50: '#a86fb5',
    500: '#803196',
    950: '#000000',
  },
}
SCSS
$custom: #803196;
$custom-light: #a86fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#803196",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 286.931,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.16877,
    "h": 318.1
  },
  "luminance": 0.08988
}

Semantic roles & 50–950 ramp

primary
#803196
secondary
#7BB86A
accent
#DA4E6C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803196

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

Preview Lab → · Contrast checker → · Palette generator →

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