#803AA6#803AA6

#803AA6 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.172 H 311.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#803AA6
RGBrgb(128, 58, 166)
HSLhsl(279, 48%, 44%)
HSVhsv(279, 65%, 65%)
CMYKcmyk(22.9%, 65.1%, 0%, 34.9%)
CIE-LABlab(38.50, 48.44, -45.81)
CIE-LCHlch(38.50, 66.67, 316.60°)
OKLaboklab(49.08% 0.1143 -0.1291)
OKLCHoklch(49.08% 0.172 311.5)
XYZxyz(17.2968, 10.3689, 37.1592)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AA6 #60A63A
analogous
#4A3AA6 #803AA6 #A63A96
triadic
#803AA6 #A6803A #3AA680
tetradic
#803AA6 #A64A3A #60A63A #3A96A6
square
#803AA6 #A64A3A #60A63A #3A96A6
split-complementary
#803AA6 #96A63A #3AA64A
monochromatic
#3A1A4B #5D2A79 #803AA6 #9F58C5 #B986D5

Accessibility & contrast

On white

6.83
#803AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#803AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AA6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AA6#FFFFFF#000000##FFFFFF
##803AA61.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#2F5CA3
Tritanopia (blue-blind)
#7B4F6B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #803aa6;
/* rgb */ color: rgb(128, 58, 166);
/* oklch */ color: oklch(49.1% 0.172 311.5);
Tailwind
colors: {
  custom: {
    50: '#a875c1',
    500: '#803aa6',
    950: '#000000',
  },
}
SCSS
$custom: #803aa6;
$custom-light: #a875c1;
$custom-dark: #000000;
JSON
{
  "hex": "#803aa6",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 278.889,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49081,
    "c": 0.1724,
    "h": 311.5
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#803AA6
secondary
#94BF7D
accent
#D85080
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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