#803F8A#803F8A

#803F8A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.1% C 0.135 H 322.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#803F8A
RGBrgb(128, 63, 138)
HSLhsl(292, 37%, 39%)
HSVhsv(292, 54%, 54%)
CMYKcmyk(7.2%, 54.3%, 0%, 45.9%)
CIE-LABlab(37.81, 39.87, -29.96)
CIE-LCHlch(37.81, 49.87, 323.07°)
OKLaboklab(48.05% 0.1067 -0.0829)
OKLCHoklch(48.05% 0.135 322.1)
XYZxyz(15.2665, 9.9799, 25.1620)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803F8A #498A3F
analogous
#5B3F8A #803F8A #8A3F6F
triadic
#803F8A #8A803F #3F8A80
tetradic
#803F8A #8A5B3F #498A3F #3F6F8A
square
#803F8A #8A5B3F #498A3F #3F6F8A
split-complementary
#803F8A #6F8A3F #3F8A5B
monochromatic
#321936 #592C60 #803F8A #A555B1 #BB7FC5

Accessibility & contrast

On white

7.01
#803F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#803F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803F8A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803F8A#FFFFFF#000000##FFFFFF
##803F8A1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#82495E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #803f8a;
/* rgb */ color: rgb(128, 63, 138);
/* oklch */ color: oklch(48.1% 0.135 322.1);
Tailwind
colors: {
  custom: {
    50: '#a777ac',
    500: '#803f8a',
    950: '#000000',
  },
}
SCSS
$custom: #803f8a;
$custom-light: #a777ac;
$custom-dark: #000000;
JSON
{
  "hex": "#803f8a",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 292,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.13512,
    "h": 322.1
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#803F8A
secondary
#7EAF76
accent
#CD5B6A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #803F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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