#803CA7#803CA7

#803CA7 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.171 H 311.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#803CA7
RGBrgb(128, 60, 167)
HSLhsl(278, 47%, 45%)
HSVhsv(278, 64%, 65%)
CMYKcmyk(23.4%, 64.1%, 0%, 34.5%)
CIE-LABlab(38.92, 47.69, -45.73)
CIE-LCHlch(38.92, 66.07, 316.20°)
OKLaboklab(49.41% 0.1118 -0.1289)
OKLCHoklch(49.41% 0.171 311)
XYZxyz(17.4917, 10.6113, 37.6785)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CA7 #63A73C
analogous
#4B3CA7 #803CA7 #A73C99
triadic
#803CA7 #A7803C #3CA780
tetradic
#803CA7 #A74B3C #63A73C #3C99A7
square
#803CA7 #A74B3C #63A73C #3C99A7
split-complementary
#803CA7 #99A73C #3CA74B
monochromatic
#3B1C4D #5D2C7A #803CA7 #9E5CC4 #B989D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##803CA7#FFFFFF#000000##FFFFFF
##803CA71.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)
#0458AA
Deuteranopia (green-blind)
#305DA5
Tritanopia (blue-blind)
#7B516C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803ca7;
/* rgb */ color: rgb(128, 60, 167);
/* oklch */ color: oklch(49.4% 0.171 311.0);
Tailwind
colors: {
  custom: {
    50: '#a876c2',
    500: '#803ca7',
    950: '#000000',
  },
}
SCSS
$custom: #803ca7;
$custom-light: #a876c2;
$custom-dark: #000000;
JSON
{
  "hex": "#803ca7",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 278.131,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49406,
    "c": 0.17061,
    "h": 311
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#803CA7
secondary
#97BF80
accent
#D75182
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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