#803FA3#803FA3

#803FA3 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.162 H 311.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#803FA3
RGBrgb(128, 63, 163)
HSLhsl(279, 44%, 44%)
HSVhsv(279, 61%, 64%)
CMYKcmyk(21.5%, 61.3%, 0%, 36.1%)
CIE-LABlab(39.22, 45.27, -42.85)
CIE-LCHlch(39.22, 62.33, 316.58°)
OKLaboklab(49.55% 0.1081 -0.1204)
OKLCHoklch(49.55% 0.162 311.9)
XYZxyz(17.2893, 10.7890, 35.8149)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FA3 #62A33F
analogous
#4E3FA3 #803FA3 #A33F94
triadic
#803FA3 #A3803F #3FA380
tetradic
#803FA3 #A34E3F #62A33F #3F94A3
square
#803FA3 #A34E3F #62A33F #3F94A3
split-complementary
#803FA3 #94A33F #3FA34E
monochromatic
#3B1D4B #5D2E77 #803FA3 #9E5EC1 #B98AD2

Accessibility & contrast

On white

6.65
#803FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#803FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FA3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FA3#FFFFFF#000000##FFFFFF
##803FA31.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A6
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#7C526B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803fa3;
/* rgb */ color: rgb(128, 63, 163);
/* oklch */ color: oklch(49.5% 0.162 311.9);
Tailwind
colors: {
  custom: {
    50: '#a878bf',
    500: '#803fa3',
    950: '#000000',
  },
}
SCSS
$custom: #803fa3;
$custom-light: #a878bf;
$custom-dark: #000000;
JSON
{
  "hex": "#803fa3",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 279,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.16186,
    "h": 311.9
  },
  "luminance": 0.10789
}

Semantic roles & 50–950 ramp

primary
#803FA3
secondary
#96BD81
accent
#D45481
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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