#803E8A#803E8A

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

Color values

HEX#803E8A
RGBrgb(128, 62, 138)
HSLhsl(292, 38%, 39%)
HSVhsv(292, 55%, 54%)
CMYKcmyk(7.2%, 55.1%, 0%, 45.9%)
CIE-LABlab(37.61, 40.40, -30.27)
CIE-LCHlch(37.61, 50.48, 323.15°)
OKLaboklab(47.91% 0.1081 -0.0838)
OKLCHoklch(47.91% 0.137 322.2)
XYZxyz(15.2117, 9.8701, 25.1437)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803E8A #488A3E
analogous
#5A3E8A #803E8A #8A3E6E
triadic
#803E8A #8A803E #3E8A80
tetradic
#803E8A #8A5A3E #488A3E #3E6E8A
square
#803E8A #8A5A3E #488A3E #3E6E8A
split-complementary
#803E8A #6E8A3E #3E8A5A
monochromatic
#321836 #592B60 #803E8A #A553B2 #BB7EC5

Accessibility & contrast

On white

7.06
#803E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#803E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803E8A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803E8A#FFFFFF#000000##FFFFFF
##803E8A1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#475B88
Tritanopia (blue-blind)
#82485E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #803e8a;
/* rgb */ color: rgb(128, 62, 138);
/* oklch */ color: oklch(47.9% 0.137 322.2);
Tailwind
colors: {
  custom: {
    50: '#a776ac',
    500: '#803e8a',
    950: '#000000',
  },
}
SCSS
$custom: #803e8a;
$custom-light: #a776ac;
$custom-dark: #000000;
JSON
{
  "hex": "#803e8a",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 292.105,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47907,
    "c": 0.13681,
    "h": 322.2
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#803E8A
secondary
#7DAF75
accent
#CE5A69
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #803E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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