#803199#803199

#803199 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.172 H 317.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#803199
RGBrgb(128, 49, 153)
HSLhsl(286, 51%, 40%)
HSVhsv(286, 68%, 60%)
CMYKcmyk(16.3%, 68%, 0%, 40%)
CIE-LABlab(36.15, 49.84, -41.74)
CIE-LCHlch(36.15, 65.01, 320.06°)
OKLaboklab(47.13% 0.1256 -0.1171)
OKLCHoklch(47.13% 0.172 317)
XYZxyz(15.7493, 9.0864, 31.0551)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803199 #4A9931
analogous
#4C3199 #803199 #99317E
triadic
#803199 #998031 #319980
tetradic
#803199 #994C31 #4A9931 #317E99
square
#803199 #994C31 #4A9931 #317E99
split-complementary
#803199 #7E9931 #31994C
monochromatic
#32133C #59226B #803199 #A544C3 #BB72D2

Accessibility & contrast

On white

7.45
#803199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#803199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803199
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803199#FFFFFF#000000##FFFFFF
##8031991.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#335797
Tritanopia (blue-blind)
#7F4561
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #803199;
/* rgb */ color: rgb(128, 49, 153);
/* oklch */ color: oklch(47.1% 0.172 317.0);
Tailwind
colors: {
  custom: {
    50: '#a86fb8',
    500: '#803199',
    950: '#000000',
  },
}
SCSS
$custom: #803199;
$custom-light: #a86fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#803199",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 285.577,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47126,
    "c": 0.17169,
    "h": 317
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#803199
secondary
#7FBA6C
accent
#DB4D6F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803199

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

Preview Lab → · Contrast checker → · Palette generator →

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