#803EA1#803EA1

#803EA1 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.3% C 0.161 H 312.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#803EA1
RGBrgb(128, 62, 161)
HSLhsl(280, 44%, 44%)
HSVhsv(280, 61%, 63%)
CMYKcmyk(20.5%, 61.5%, 0%, 36.9%)
CIE-LABlab(38.91, 45.33, -42.14)
CIE-LCHlch(38.91, 61.90, 317.09°)
OKLaboklab(49.28% 0.1094 -0.1184)
OKLCHoklch(49.28% 0.161 312.7)
XYZxyz(17.0566, 10.6081, 34.8604)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EA1 #5FA13E
analogous
#4E3EA1 #803EA1 #A13E90
triadic
#803EA1 #A1803E #3EA180
tetradic
#803EA1 #A14E3E #5FA13E #3E90A1
square
#803EA1 #A14E3E #5FA13E #3E90A1
split-complementary
#803EA1 #90A13E #3EA14E
monochromatic
#3A1C49 #5D2D75 #803EA1 #9F5CC0 #B988D1

Accessibility & contrast

On white

6.73
#803EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#803EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EA1
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EA1#FFFFFF#000000##FFFFFF
##803EA11.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A4
Deuteranopia (green-blind)
#385D9F
Tritanopia (blue-blind)
#7D5069
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803ea1;
/* rgb */ color: rgb(128, 62, 161);
/* oklch */ color: oklch(49.3% 0.161 312.7);
Tailwind
colors: {
  custom: {
    50: '#a877bd',
    500: '#803ea1',
    950: '#000000',
  },
}
SCSS
$custom: #803ea1;
$custom-light: #a877bd;
$custom-dark: #000000;
JSON
{
  "hex": "#803ea1",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 280,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.1612,
    "h": 312.7
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#803EA1
secondary
#93BC7F
accent
#D4547E
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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