#803FA7#803FA7

#803FA7 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.166 H 310.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#803FA7
RGBrgb(128, 63, 167)
HSLhsl(278, 45%, 45%)
HSVhsv(278, 62%, 65%)
CMYKcmyk(23.4%, 62.3%, 0%, 34.5%)
CIE-LABlab(39.47, 46.18, -44.84)
CIE-LCHlch(39.47, 64.37, 315.84°)
OKLaboklab(49.81% 0.1081 -0.1263)
OKLCHoklch(49.81% 0.166 310.6)
XYZxyz(17.6533, 10.9346, 37.7324)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FA7 #66A73F
analogous
#4C3FA7 #803FA7 #A73F9A
triadic
#803FA7 #A7803F #3FA780
tetradic
#803FA7 #A74C3F #66A73F #3F9AA7
square
#803FA7 #A74C3F #66A73F #3F9AA7
split-complementary
#803FA7 #9AA73F #3FA74C
monochromatic
#3C1D4E #5E2E7B #803FA7 #9E60C3 #B98DD4

Accessibility & contrast

On white

6.59
#803FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#803FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FA7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FA7#FFFFFF#000000##FFFFFF
##803FA71.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125AAA
Deuteranopia (green-blind)
#345EA5
Tritanopia (blue-blind)
#7B536D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803fa7;
/* rgb */ color: rgb(128, 63, 167);
/* oklch */ color: oklch(49.8% 0.166 310.6);
Tailwind
colors: {
  custom: {
    50: '#a878c2',
    500: '#803fa7',
    950: '#000000',
  },
}
SCSS
$custom: #803fa7;
$custom-light: #a878c2;
$custom-dark: #000000;
JSON
{
  "hex": "#803fa7",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 277.5,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49806,
    "c": 0.16623,
    "h": 310.6
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#803FA7
secondary
#99BF83
accent
#D55384
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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