#803A8D#803A8D

#803A8D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.5% C 0.146 H 321.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#803A8D
RGBrgb(128, 58, 141)
HSLhsl(291, 42%, 39%)
HSVhsv(291, 59%, 55%)
CMYKcmyk(9.2%, 58.9%, 0%, 44.7%)
CIE-LABlab(37.00, 43.07, -33.07)
CIE-LCHlch(37.00, 54.30, 322.49°)
OKLaboklab(47.52% 0.114 -0.0919)
OKLCHoklch(47.52% 0.146 321.1)
XYZxyz(15.2223, 9.5391, 26.2335)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803A8D #478D3A
analogous
#573A8D #803A8D #8D3A71
triadic
#803A8D #8D803A #3A8D80
tetradic
#803A8D #8D573A #478D3A #3A718D
square
#803A8D #8D573A #478D3A #3A718D
split-complementary
#803A8D #718D3A #3A8D57
monochromatic
#311636 #592862 #803A8D #A64EB6 #BC79C8

Accessibility & contrast

On white

7.22
#803A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#803A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803A8D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803A8D#FFFFFF#000000##FFFFFF
##803A8D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#81465E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #803a8d;
/* rgb */ color: rgb(128, 58, 141);
/* oklch */ color: oklch(47.5% 0.146 321.1);
Tailwind
colors: {
  custom: {
    50: '#a774af',
    500: '#803a8d',
    950: '#000000',
  },
}
SCSS
$custom: #803a8d;
$custom-light: #a774af;
$custom-dark: #000000;
JSON
{
  "hex": "#803a8d",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 290.602,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47515,
    "c": 0.14642,
    "h": 321.1
  },
  "luminance": 0.09538
}

Semantic roles & 50–950 ramp

primary
#803A8D
secondary
#7BB171
accent
#D2566A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #803A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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