#803AA4#803AA4

#803AA4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.170 H 312.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#803AA4
RGBrgb(128, 58, 164)
HSLhsl(280, 48%, 44%)
HSVhsv(280, 65%, 64%)
CMYKcmyk(22%, 64.6%, 0%, 35.7%)
CIE-LABlab(38.37, 48.00, -44.81)
CIE-LCHlch(38.37, 65.67, 316.97°)
OKLaboklab(48.95% 0.1144 -0.1262)
OKLCHoklch(48.95% 0.17 312.2)
XYZxyz(17.1148, 10.2961, 36.2005)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AA4 #5EA43A
analogous
#4B3AA4 #803AA4 #A43A93
triadic
#803AA4 #A4803A #3AA480
tetradic
#803AA4 #A44B3A #5EA43A #3A93A4
square
#803AA4 #A44B3A #5EA43A #3A93A4
split-complementary
#803AA4 #93A43A #3AA44B
monochromatic
#391A4A #5D2A77 #803AA4 #9F57C4 #B985D4

Accessibility & contrast

On white

6.86
#803AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#803AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AA4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AA4#FFFFFF#000000##FFFFFF
##803AA41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0457A7
Deuteranopia (green-blind)
#315CA2
Tritanopia (blue-blind)
#7C4F6A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #803aa4;
/* rgb */ color: rgb(128, 58, 164);
/* oklch */ color: oklch(48.9% 0.170 312.2);
Tailwind
colors: {
  custom: {
    50: '#a875bf',
    500: '#803aa4',
    950: '#000000',
  },
}
SCSS
$custom: #803aa4;
$custom-light: #a875bf;
$custom-dark: #000000;
JSON
{
  "hex": "#803aa4",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 279.623,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.17029,
    "h": 312.2
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#803AA4
secondary
#92BE7C
accent
#D7507E
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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