#803C8D#803C8D

#803C8D is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.8% C 0.143 H 321.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#803C8D
RGBrgb(128, 60, 141)
HSLhsl(290, 40%, 39%)
HSVhsv(290, 57%, 55%)
CMYKcmyk(9.2%, 57.4%, 0%, 44.7%)
CIE-LABlab(37.38, 42.05, -32.47)
CIE-LCHlch(37.38, 53.13, 322.33°)
OKLaboklab(47.79% 0.1113 -0.0902)
OKLCHoklch(47.79% 0.143 321)
XYZxyz(15.3251, 9.7447, 26.2678)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803C8D #498D3C
analogous
#573C8D #803C8D #8D3C72
triadic
#803C8D #8D803C #3C8D80
tetradic
#803C8D #8D573C #498D3C #3C728D
square
#803C8D #8D573C #498D3C #3C728D
split-complementary
#803C8D #728D3C #3C8D57
monochromatic
#321737 #592A62 #803C8D #A551B5 #BB7CC7

Accessibility & contrast

On white

7.12
#803C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#803C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803C8D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803C8D#FFFFFF#000000##FFFFFF
##803C8D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#445B8B
Tritanopia (blue-blind)
#81485F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #803c8d;
/* rgb */ color: rgb(128, 60, 141);
/* oklch */ color: oklch(47.8% 0.143 321.0);
Tailwind
colors: {
  custom: {
    50: '#a775af',
    500: '#803c8d',
    950: '#000000',
  },
}
SCSS
$custom: #803c8d;
$custom-light: #a775af;
$custom-dark: #000000;
JSON
{
  "hex": "#803c8d",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 290.37,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47791,
    "c": 0.1432,
    "h": 321
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#803C8D
secondary
#7EB174
accent
#D0586B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #803C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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