#803EA5#803EA5

#803EA5 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.166 H 311.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#803EA5
RGBrgb(128, 62, 165)
HSLhsl(278, 45%, 45%)
HSVhsv(278, 62%, 65%)
CMYKcmyk(22.4%, 62.4%, 0%, 35.3%)
CIE-LABlab(39.16, 46.23, -44.15)
CIE-LCHlch(39.16, 63.93, 316.32°)
OKLaboklab(49.54% 0.1094 -0.1242)
OKLCHoklch(49.54% 0.166 311.4)
XYZxyz(17.4150, 10.7515, 36.7479)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EA5 #63A53E
analogous
#4D3EA5 #803EA5 #A53E96
triadic
#803EA5 #A5803E #3EA580
tetradic
#803EA5 #A54D3E #63A53E #3E96A5
square
#803EA5 #A54D3E #63A53E #3E96A5
split-complementary
#803EA5 #96A53E #3EA54D
monochromatic
#3B1D4C #5D2D79 #803EA5 #9E5EC2 #B98AD3

Accessibility & contrast

On white

6.67
#803EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#803EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EA5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EA5#FFFFFF#000000##FFFFFF
##803EA51.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A8
Deuteranopia (green-blind)
#355EA3
Tritanopia (blue-blind)
#7C526C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803ea5;
/* rgb */ color: rgb(128, 62, 165);
/* oklch */ color: oklch(49.5% 0.166 311.4);
Tailwind
colors: {
  custom: {
    50: '#a877c0',
    500: '#803ea5',
    950: '#000000',
  },
}
SCSS
$custom: #803ea5;
$custom-light: #a877c0;
$custom-dark: #000000;
JSON
{
  "hex": "#803ea5",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 278.447,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4954,
    "c": 0.16553,
    "h": 311.4
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

primary
#803EA5
secondary
#97BE81
accent
#D55382
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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