#803E97#803E97

#803E97 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.7% C 0.150 H 316.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#803E97
RGBrgb(128, 62, 151)
HSLhsl(284, 42%, 42%)
HSVhsv(284, 59%, 59%)
CMYKcmyk(15.2%, 58.9%, 0%, 40.8%)
CIE-LABlab(38.32, 43.13, -37.06)
CIE-LCHlch(38.32, 56.87, 319.33°)
OKLaboklab(48.66% 0.1092 -0.1035)
OKLCHoklch(48.66% 0.15 316.5)
XYZxyz(16.2098, 10.2694, 30.4005)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803E97 #55973E
analogous
#543E97 #803E97 #973E82
triadic
#803E97 #97803E #3E9780
tetradic
#803E97 #97543E #55973E #3E8297
square
#803E97 #97543E #55973E #3E8297
split-complementary
#803E97 #82973E #3E9754
monochromatic
#361A40 #5B2C6C #803E97 #A158BA #B983CC

Accessibility & contrast

On white

6.88
#803E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#803E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803E97
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803E97#FFFFFF#000000##FFFFFF
##803E971.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#7F4D64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #803e97;
/* rgb */ color: rgb(128, 62, 151);
/* oklch */ color: oklch(48.7% 0.150 316.5);
Tailwind
colors: {
  custom: {
    50: '#a777b6',
    500: '#803e97',
    950: '#000000',
  },
}
SCSS
$custom: #803e97;
$custom-light: #a777b6;
$custom-dark: #000000;
JSON
{
  "hex": "#803e97",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 284.494,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.15046,
    "h": 316.5
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#803E97
secondary
#8AB67A
accent
#D25676
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #803E97

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

Preview Lab → · Contrast checker → · Palette generator →

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