#803F97#803F97

#803F97 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.8% C 0.149 H 316.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#803F97
RGBrgb(128, 63, 151)
HSLhsl(284, 41%, 42%)
HSVhsv(284, 58%, 59%)
CMYKcmyk(15.2%, 58.3%, 0%, 40.8%)
CIE-LABlab(38.51, 42.62, -36.75)
CIE-LCHlch(38.51, 56.28, 319.22°)
OKLaboklab(48.8% 0.1078 -0.1026)
OKLCHoklch(48.8% 0.149 316.4)
XYZxyz(16.2647, 10.3791, 30.4188)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803F97 #56973F
analogous
#543F97 #803F97 #973F82
triadic
#803F97 #97803F #3F9780
tetradic
#803F97 #97543F #56973F #3F8297
square
#803F97 #97543F #56973F #3F8297
split-complementary
#803F97 #82973F #3F9754
monochromatic
#371B41 #5B2D6C #803F97 #A159BA #B985CC

Accessibility & contrast

On white

6.83
#803F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#803F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803F97
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803F97#FFFFFF#000000##FFFFFF
##803F971.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#7F4D65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #803f97;
/* rgb */ color: rgb(128, 63, 151);
/* oklch */ color: oklch(48.8% 0.149 316.4);
Tailwind
colors: {
  custom: {
    50: '#a777b6',
    500: '#803f97',
    950: '#000000',
  },
}
SCSS
$custom: #803f97;
$custom-light: #a777b6;
$custom-dark: #000000;
JSON
{
  "hex": "#803f97",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 284.318,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.14886,
    "h": 316.4
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#803F97
secondary
#8BB67C
accent
#D15777
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #803F97

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

Preview Lab → · Contrast checker → · Palette generator →

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