#803E8D#803E8D

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

Color values

HEX#803E8D
RGBrgb(128, 62, 141)
HSLhsl(290, 39%, 40%)
HSVhsv(290, 56%, 55%)
CMYKcmyk(9.2%, 56%, 0%, 44.7%)
CIE-LABlab(37.77, 41.01, -31.86)
CIE-LCHlch(37.77, 51.93, 322.16°)
OKLaboklab(48.08% 0.1084 -0.0884)
OKLCHoklch(48.08% 0.14 320.8)
XYZxyz(15.4319, 9.9582, 26.3034)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803E8D #4B8D3E
analogous
#593E8D #803E8D #8D3E72
triadic
#803E8D #8D803E #3E8D80
tetradic
#803E8D #8D593E #4B8D3E #3E728D
square
#803E8D #8D593E #4B8D3E #3E728D
split-complementary
#803E8D #728D3E #3E8D59
monochromatic
#331938 #592B62 #803E8D #A454B4 #BB7FC7

Accessibility & contrast

On white

7.02
#803E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#803E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803E8D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803E8D#FFFFFF#000000##FFFFFF
##803E8D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#81495F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #803e8d;
/* rgb */ color: rgb(128, 62, 141);
/* oklch */ color: oklch(48.1% 0.140 320.8);
Tailwind
colors: {
  custom: {
    50: '#a776ae',
    500: '#803e8d',
    950: '#000000',
  },
}
SCSS
$custom: #803e8d;
$custom-light: #a776ae;
$custom-dark: #000000;
JSON
{
  "hex": "#803e8d",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 290.127,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.13991,
    "h": 320.8
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#803E8D
secondary
#80B176
accent
#CF596C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #803E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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