#803A8A#803A8A

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

Color values

HEX#803A8A
RGBrgb(128, 58, 138)
HSLhsl(293, 41%, 38%)
HSVhsv(293, 58%, 54%)
CMYKcmyk(7.2%, 58%, 0%, 45.9%)
CIE-LABlab(36.84, 42.46, -31.49)
CIE-LCHlch(36.84, 52.86, 323.44°)
OKLaboklab(47.34% 0.1138 -0.0873)
OKLCHoklch(47.34% 0.143 322.5)
XYZxyz(15.0021, 9.4510, 25.0738)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803A8A #448A3A
analogous
#583A8A #803A8A #8A3A6C
triadic
#803A8A #8A803A #3A8A80
tetradic
#803A8A #8A583A #448A3A #3A6C8A
square
#803A8A #8A583A #448A3A #3A6C8A
split-complementary
#803A8A #6C8A3A #3A8A58
monochromatic
#301634 #58285F #803A8A #A74DB4 #BD78C6

Accessibility & contrast

On white

7.27
#803A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #803A8A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803A8A#FFFFFF#000000##FFFFFF
##803A8A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518D
Deuteranopia (green-blind)
#445988
Tritanopia (blue-blind)
#82455C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #803a8a;
/* rgb */ color: rgb(128, 58, 138);
/* oklch */ color: oklch(47.3% 0.143 322.5);
Tailwind
colors: {
  custom: {
    50: '#a774ac',
    500: '#803a8a',
    950: '#000000',
  },
}
SCSS
$custom: #803a8a;
$custom-light: #a774ac;
$custom-dark: #000000;
JSON
{
  "hex": "#803a8a",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 292.5,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.1434,
    "h": 322.5
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

primary
#803A8A
secondary
#78B070
accent
#D15766
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #803A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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