#803B87#803B87

#803B87 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.3% C 0.139 H 323.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#803B87
RGBrgb(128, 59, 135)
HSLhsl(294, 39%, 38%)
HSVhsv(294, 56%, 53%)
CMYKcmyk(5.2%, 56.3%, 0%, 47.1%)
CIE-LABlab(36.87, 41.35, -29.60)
CIE-LCHlch(36.87, 50.85, 324.40°)
OKLaboklab(47.31% 0.1121 -0.0818)
OKLCHoklch(47.31% 0.139 323.9)
XYZxyz(14.8388, 9.4672, 23.9627)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803B87 #42873B
analogous
#5A3B87 #803B87 #873B68
triadic
#803B87 #87803B #3B8780
tetradic
#803B87 #875A3B #42873B #3B6887
square
#803B87 #875A3B #42873B #3B6887
split-complementary
#803B87 #68873B #3B875A
monochromatic
#2F1632 #58285C #803B87 #A84EB2 #BD78C4

Accessibility & contrast

On white

7.26
#803B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#803B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803B87
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803B87#FFFFFF#000000##FFFFFF
##803B871.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305189
Deuteranopia (green-blind)
#465A85
Tritanopia (blue-blind)
#82455B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #803b87;
/* rgb */ color: rgb(128, 59, 135);
/* oklch */ color: oklch(47.3% 0.139 323.9);
Tailwind
colors: {
  custom: {
    50: '#a775aa',
    500: '#803b87',
    950: '#000000',
  },
}
SCSS
$custom: #803b87;
$custom-light: #a775aa;
$custom-dark: #000000;
JSON
{
  "hex": "#803b87",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 294.474,
    "s": 39.175,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.13876,
    "h": 323.9
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#803B87
secondary
#76AE70
accent
#CF5964
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #803B87

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

Preview Lab → · Contrast checker → · Palette generator →

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