#803B8D#803B8D

#803B8D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.7% C 0.145 H 321.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#803B8D
RGBrgb(128, 59, 141)
HSLhsl(290, 41%, 39%)
HSVhsv(290, 58%, 55%)
CMYKcmyk(9.2%, 58.2%, 0%, 44.7%)
CIE-LABlab(37.19, 42.56, -32.77)
CIE-LCHlch(37.19, 53.72, 322.41°)
OKLaboklab(47.65% 0.1126 -0.091)
OKLCHoklch(47.65% 0.145 321.1)
XYZxyz(15.2732, 9.6409, 26.2505)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803B8D #488D3B
analogous
#573B8D #803B8D #8D3B71
triadic
#803B8D #8D803B #3B8D80
tetradic
#803B8D #8D573B #488D3B #3B718D
square
#803B8D #8D573B #488D3B #3B718D
split-complementary
#803B8D #718D3B #3B8D57
monochromatic
#321737 #592962 #803B8D #A550B6 #BB7BC8

Accessibility & contrast

On white

7.17
#803B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#803B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##803B8D#FFFFFF#000000##FFFFFF
##803B8D1.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)
#2B5390
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#81475E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #803b8d;
/* rgb */ color: rgb(128, 59, 141);
/* oklch */ color: oklch(47.7% 0.145 321.1);
Tailwind
colors: {
  custom: {
    50: '#a775af',
    500: '#803b8d',
    950: '#000000',
  },
}
SCSS
$custom: #803b8d;
$custom-light: #a775af;
$custom-dark: #000000;
JSON
{
  "hex": "#803b8d",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 290.488,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47652,
    "c": 0.14482,
    "h": 321.1
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#803B8D
secondary
#7DB173
accent
#D1576A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #803B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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