#803B99#803B99

#803B99 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.4% C 0.157 H 316.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#803B99
RGBrgb(128, 59, 153)
HSLhsl(284, 44%, 42%)
HSVhsv(284, 61%, 60%)
CMYKcmyk(16.3%, 61.4%, 0%, 40%)
CIE-LABlab(37.87, 45.09, -38.98)
CIE-LCHlch(37.87, 59.61, 319.16°)
OKLaboklab(48.37% 0.1132 -0.1091)
OKLCHoklch(48.37% 0.157 316.1)
XYZxyz(16.2149, 10.0176, 31.2103)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803B99 #54993B
analogous
#513B99 #803B99 #993B83
triadic
#803B99 #99803B #3B9980
tetradic
#803B99 #99513B #54993B #3B8399
square
#803B99 #99513B #54993B #3B8399
split-complementary
#803B99 #83993B #3B9951
monochromatic
#361941 #5B2A6D #803B99 #A154BD #B980CE

Accessibility & contrast

On white

6.99
#803B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#803B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803B99
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803B99#FFFFFF#000000##FFFFFF
##803B991.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559C
Deuteranopia (green-blind)
#3B5B97
Tritanopia (blue-blind)
#7F4B64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #803b99;
/* rgb */ color: rgb(128, 59, 153);
/* oklch */ color: oklch(48.4% 0.157 316.1);
Tailwind
colors: {
  custom: {
    50: '#a775b7',
    500: '#803b99',
    950: '#000000',
  },
}
SCSS
$custom: #803b99;
$custom-light: #a775b7;
$custom-dark: #000000;
JSON
{
  "hex": "#803b99",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 284.043,
    "s": 44.34,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48372,
    "c": 0.15724,
    "h": 316.1
  },
  "luminance": 0.10017
}

Semantic roles & 50–950 ramp

primary
#803B99
secondary
#89B878
accent
#D45476
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #803B99

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

Preview Lab → · Contrast checker → · Palette generator →

#803B99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva