#803687#803687

#803687 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.6% C 0.147 H 324.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#803687
RGBrgb(128, 54, 135)
HSLhsl(295, 43%, 37%)
HSVhsv(295, 60%, 53%)
CMYKcmyk(5.2%, 60%, 0%, 47.1%)
CIE-LABlab(35.94, 43.86, -31.06)
CIE-LCHlch(35.94, 53.74, 324.69°)
OKLaboklab(46.63% 0.119 -0.086)
OKLCHoklch(46.63% 0.147 324.1)
XYZxyz(14.5940, 8.9776, 23.8811)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803687 #3D8736
analogous
#583687 #803687 #873666
triadic
#803687 #878036 #368780
tetradic
#803687 #875836 #3D8736 #366687
square
#803687 #875836 #3D8736 #366687
split-complementary
#803687 #668736 #368758
monochromatic
#2D1330 #57255B #803687 #A947B3 #BF71C6

Accessibility & contrast

On white

7.51
#803687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#803687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803687
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803687#FFFFFF#000000##FFFFFF
##8036871.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8A
Deuteranopia (green-blind)
#435885
Tritanopia (blue-blind)
#824159
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #803687;
/* rgb */ color: rgb(128, 54, 135);
/* oklch */ color: oklch(46.6% 0.147 324.1);
Tailwind
colors: {
  custom: {
    50: '#a772aa',
    500: '#803687',
    950: '#000000',
  },
}
SCSS
$custom: #803687;
$custom-light: #a772aa;
$custom-dark: #000000;
JSON
{
  "hex": "#803687",
  "rgb": {
    "r": 128,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 294.815,
    "s": 42.857,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46633,
    "c": 0.14682,
    "h": 324.1
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#803687
secondary
#70AF6A
accent
#D35560
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #803687

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

Preview Lab → · Contrast checker → · Palette generator →

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