#803C8A#803C8A

#803C8A is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.6% C 0.140 H 322.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#803C8A
RGBrgb(128, 60, 138)
HSLhsl(292, 39%, 39%)
HSVhsv(292, 57%, 54%)
CMYKcmyk(7.2%, 56.5%, 0%, 45.9%)
CIE-LABlab(37.22, 41.44, -30.89)
CIE-LCHlch(37.22, 51.68, 323.30°)
OKLaboklab(47.62% 0.111 -0.0856)
OKLCHoklch(47.62% 0.14 322.4)
XYZxyz(15.1049, 9.6566, 25.1081)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803C8A #468A3C
analogous
#593C8A #803C8A #8A3C6D
triadic
#803C8A #8A803C #3C8A80
tetradic
#803C8A #8A593C #468A3C #3C6D8A
square
#803C8A #8A593C #468A3C #3C6D8A
split-complementary
#803C8A #6D8A3C #3C8A59
monochromatic
#311735 #58295F #803C8A #A650B3 #BC7BC6

Accessibility & contrast

On white

7.16
#803C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #803C8A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803C8A#FFFFFF#000000##FFFFFF
##803C8A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#455A88
Tritanopia (blue-blind)
#82475D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #803c8a;
/* rgb */ color: rgb(128, 60, 138);
/* oklch */ color: oklch(47.6% 0.140 322.4);
Tailwind
colors: {
  custom: {
    50: '#a775ac',
    500: '#803c8a',
    950: '#000000',
  },
}
SCSS
$custom: #803c8a;
$custom-light: #a775ac;
$custom-dark: #000000;
JSON
{
  "hex": "#803c8a",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 292.308,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.14013,
    "h": 322.4
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#803C8A
secondary
#7AAF73
accent
#CF5968
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #803C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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