#803CA2#803CA2

#803CA2 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.1% C 0.165 H 312.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#803CA2
RGBrgb(128, 60, 162)
HSLhsl(280, 46%, 44%)
HSVhsv(280, 63%, 64%)
CMYKcmyk(21%, 63%, 0%, 36.5%)
CIE-LABlab(38.60, 46.57, -43.24)
CIE-LCHlch(38.60, 63.54, 317.12°)
OKLaboklab(49.08% 0.112 -0.1216)
OKLCHoklch(49.08% 0.165 312.6)
XYZxyz(17.0384, 10.4300, 35.2911)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CA2 #5EA23C
analogous
#4D3CA2 #803CA2 #A23C91
triadic
#803CA2 #A2803C #3CA280
tetradic
#803CA2 #A24D3C #5EA23C #3C91A2
square
#803CA2 #A24D3C #5EA23C #3C91A2
split-complementary
#803CA2 #91A23C #3CA24D
monochromatic
#391B49 #5D2B75 #803CA2 #9F59C2 #B986D2

Accessibility & contrast

On white

6.80
#803CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #803CA2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CA2#FFFFFF#000000##FFFFFF
##803CA21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#355CA0
Tritanopia (blue-blind)
#7C4F69
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #803ca2;
/* rgb */ color: rgb(128, 60, 162);
/* oklch */ color: oklch(49.1% 0.165 312.6);
Tailwind
colors: {
  custom: {
    50: '#a876be',
    500: '#803ca2',
    950: '#000000',
  },
}
SCSS
$custom: #803ca2;
$custom-light: #a876be;
$custom-dark: #000000;
JSON
{
  "hex": "#803ca2",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 280,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49078,
    "c": 0.16527,
    "h": 312.6
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#803CA2
secondary
#92BC7D
accent
#D6527E
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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