#803EA6#803EA6

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

Color values

HEX#803EA6
RGBrgb(128, 62, 166)
HSLhsl(278, 46%, 45%)
HSVhsv(278, 63%, 65%)
CMYKcmyk(22.9%, 62.7%, 0%, 34.9%)
CIE-LABlab(39.22, 46.46, -44.64)
CIE-LCHlch(39.22, 64.43, 316.14°)
OKLaboklab(49.61% 0.1094 -0.1257)
OKLCHoklch(49.61% 0.167 311)
XYZxyz(17.5064, 10.7880, 37.2291)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EA6 #64A63E
analogous
#4C3EA6 #803EA6 #A63E98
triadic
#803EA6 #A6803E #3EA680
tetradic
#803EA6 #A64C3E #64A63E #3E98A6
square
#803EA6 #A64C3E #64A63E #3E98A6
split-complementary
#803EA6 #98A63E #3EA64C
monochromatic
#3B1D4D #5E2D79 #803EA6 #9E5EC3 #B98BD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##803EA6#FFFFFF#000000##FFFFFF
##803EA61.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)
#1159A9
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#7B526C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803ea6;
/* rgb */ color: rgb(128, 62, 166);
/* oklch */ color: oklch(49.6% 0.167 311.0);
Tailwind
colors: {
  custom: {
    50: '#a877c1',
    500: '#803ea6',
    950: '#000000',
  },
}
SCSS
$custom: #803ea6;
$custom-light: #a877c1;
$custom-dark: #000000;
JSON
{
  "hex": "#803ea6",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 278.077,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.16662,
    "h": 311
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#803EA6
secondary
#98BE82
accent
#D55382
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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