#803E9D#803E9D

#803E9D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.0% C 0.157 H 314.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#803E9D
RGBrgb(128, 62, 157)
HSLhsl(282, 43%, 43%)
HSVhsv(282, 61%, 62%)
CMYKcmyk(18.5%, 60.5%, 0%, 38.4%)
CIE-LABlab(38.67, 44.44, -40.12)
CIE-LCHlch(38.67, 59.88, 317.92°)
OKLaboklab(49.03% 0.1094 -0.1125)
OKLCHoklch(49.03% 0.157 314.2)
XYZxyz(16.7095, 10.4693, 33.0323)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803E9D #5B9D3E
analogous
#503E9D #803E9D #9D3E8A
triadic
#803E9D #9D803E #3E9D80
tetradic
#803E9D #9D503E #5B9D3E #3E8A9D
square
#803E9D #9D503E #5B9D3E #3E8A9D
split-complementary
#803E9D #8A9D3E #3E9D50
monochromatic
#381B45 #5C2D71 #803E9D #A05ABE #B986CF

Accessibility & contrast

On white

6.79
#803E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#803E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803E9D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803E9D#FFFFFF#000000##FFFFFF
##803E9D1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2057A0
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#7E4F67
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #803e9d;
/* rgb */ color: rgb(128, 62, 157);
/* oklch */ color: oklch(49.0% 0.157 314.2);
Tailwind
colors: {
  custom: {
    50: '#a777ba',
    500: '#803e9d',
    950: '#000000',
  },
}
SCSS
$custom: #803e9d;
$custom-light: #a777ba;
$custom-dark: #000000;
JSON
{
  "hex": "#803e9d",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 281.684,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.15689,
    "h": 314.2
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#803E9D
secondary
#90BA7D
accent
#D3557B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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