#803CA6#803CA6

#803CA6 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.170 H 311.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#803CA6
RGBrgb(128, 60, 166)
HSLhsl(278, 47%, 44%)
HSVhsv(278, 64%, 65%)
CMYKcmyk(22.9%, 63.9%, 0%, 34.9%)
CIE-LABlab(38.85, 47.46, -45.23)
CIE-LCHlch(38.85, 65.56, 316.38°)
OKLaboklab(49.34% 0.1119 -0.1274)
OKLCHoklch(49.34% 0.17 311.3)
XYZxyz(17.3996, 10.5745, 37.1935)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CA6 #62A63C
analogous
#4B3CA6 #803CA6 #A63C97
triadic
#803CA6 #A6803C #3CA680
tetradic
#803CA6 #A64B3C #62A63C #3C97A6
square
#803CA6 #A64B3C #62A63C #3C97A6
split-complementary
#803CA6 #97A63C #3CA64B
monochromatic
#3B1C4C #5D2C79 #803CA6 #9E5BC4 #B988D4

Accessibility & contrast

On white

6.74
#803CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#803CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CA6
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CA6#FFFFFF#000000##FFFFFF
##803CA61.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A9
Deuteranopia (green-blind)
#315DA4
Tritanopia (blue-blind)
#7B516B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #803ca6;
/* rgb */ color: rgb(128, 60, 166);
/* oklch */ color: oklch(49.3% 0.170 311.3);
Tailwind
colors: {
  custom: {
    50: '#a876c1',
    500: '#803ca6',
    950: '#000000',
  },
}
SCSS
$custom: #803ca6;
$custom-light: #a876c1;
$custom-dark: #000000;
JSON
{
  "hex": "#803ca6",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 278.491,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4934,
    "c": 0.16954,
    "h": 311.3
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#803CA6
secondary
#96BE7F
accent
#D75181
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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