#803F87#803F87

#803F87 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 47.9% C 0.132 H 323.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#803F87
RGBrgb(128, 63, 135)
HSLhsl(294, 36%, 39%)
HSVhsv(294, 53%, 53%)
CMYKcmyk(5.2%, 53.3%, 0%, 47.1%)
CIE-LABlab(37.65, 39.26, -28.37)
CIE-LCHlch(37.65, 48.43, 324.15°)
OKLaboklab(47.89% 0.1063 -0.0783)
OKLCHoklch(47.89% 0.132 323.6)
XYZxyz(15.0524, 9.8942, 24.0339)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803F87 #46873F
analogous
#5C3F87 #803F87 #873F6A
triadic
#803F87 #87803F #3F8780
tetradic
#803F87 #875C3F #46873F #3F6A87
square
#803F87 #875C3F #46873F #3F6A87
split-complementary
#803F87 #6A873F #3F875C
monochromatic
#311834 #582C5D #803F87 #A654AF #BC7EC3

Accessibility & contrast

On white

7.05
#803F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#803F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803F87
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803F87#FFFFFF#000000##FFFFFF
##803F871.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355489
Deuteranopia (green-blind)
#495B85
Tritanopia (blue-blind)
#82485D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #803f87;
/* rgb */ color: rgb(128, 63, 135);
/* oklch */ color: oklch(47.9% 0.132 323.6);
Tailwind
colors: {
  custom: {
    50: '#a777aa',
    500: '#803f87',
    950: '#000000',
  },
}
SCSS
$custom: #803f87;
$custom-light: #a777aa;
$custom-dark: #000000;
JSON
{
  "hex": "#803f87",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 294.167,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47888,
    "c": 0.13203,
    "h": 323.6
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#803F87
secondary
#7AAD75
accent
#CC5B66
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #803F87

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

Preview Lab → · Contrast checker → · Palette generator →

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