#803FA4#803FA4

#803FA4 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.163 H 311.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#803FA4
RGBrgb(128, 63, 164)
HSLhsl(279, 44%, 45%)
HSVhsv(279, 62%, 64%)
CMYKcmyk(22%, 61.6%, 0%, 35.7%)
CIE-LABlab(39.28, 45.50, -43.35)
CIE-LCHlch(39.28, 62.84, 316.39°)
OKLaboklab(49.61% 0.1081 -0.1219)
OKLCHoklch(49.61% 0.163 311.6)
XYZxyz(17.3792, 10.8250, 36.2887)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FA4 #63A43F
analogous
#4E3FA4 #803FA4 #A43F96
triadic
#803FA4 #A4803F #3FA480
tetradic
#803FA4 #A44E3F #63A43F #3F96A4
square
#803FA4 #A44E3F #63A43F #3F96A4
split-complementary
#803FA4 #96A43F #3FA44E
monochromatic
#3B1D4C #5D2E78 #803FA4 #9E5FC1 #B98BD2

Accessibility & contrast

On white

6.64
#803FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#803FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FA4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FA4#FFFFFF#000000##FFFFFF
##803FA41.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A7
Deuteranopia (green-blind)
#365EA2
Tritanopia (blue-blind)
#7C526B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803fa4;
/* rgb */ color: rgb(128, 63, 164);
/* oklch */ color: oklch(49.6% 0.163 311.6);
Tailwind
colors: {
  custom: {
    50: '#a878bf',
    500: '#803fa4',
    950: '#000000',
  },
}
SCSS
$custom: #803fa4;
$custom-light: #a878bf;
$custom-dark: #000000;
JSON
{
  "hex": "#803fa4",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 278.614,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49611,
    "c": 0.16295,
    "h": 311.6
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#803FA4
secondary
#97BD82
accent
#D45481
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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