#803897#803897

#803897 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.9% C 0.160 H 317.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#803897
RGBrgb(128, 56, 151)
HSLhsl(285, 46%, 41%)
HSVhsv(285, 63%, 59%)
CMYKcmyk(15.2%, 62.9%, 0%, 40.8%)
CIE-LABlab(37.21, 46.15, -38.83)
CIE-LCHlch(37.21, 60.31, 319.92°)
OKLaboklab(47.85% 0.1171 -0.1086)
OKLCHoklch(47.85% 0.16 317.1)
XYZxyz(15.9014, 9.6525, 30.2977)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803897 #4F9738
analogous
#503897 #803897 #97387E
triadic
#803897 #978038 #389780
tetradic
#803897 #975038 #4F9738 #387E97
square
#803897 #975038 #4F9738 #387E97
split-complementary
#803897 #7E9738 #389750
monochromatic
#34173E #5A276A #803897 #A34FBE #BA7BCE

Accessibility & contrast

On white

7.17
#803897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#803897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803897
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803897#FFFFFF#000000##FFFFFF
##8038971.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#7F4862
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #803897;
/* rgb */ color: rgb(128, 56, 151);
/* oklch */ color: oklch(47.9% 0.160 317.1);
Tailwind
colors: {
  custom: {
    50: '#a873b6',
    500: '#803897',
    950: '#000000',
  },
}
SCSS
$custom: #803897;
$custom-light: #a873b6;
$custom-dark: #000000;
JSON
{
  "hex": "#803897",
  "rgb": {
    "r": 128,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 285.474,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47853,
    "c": 0.15971,
    "h": 317.1
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#803897
secondary
#84B773
accent
#D65272
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803897

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

Preview Lab → · Contrast checker → · Palette generator →

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