#803EAA#803EAA

#803EAA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.171 H 309.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#803EAA
RGBrgb(128, 62, 170)
HSLhsl(277, 47%, 45%)
HSVhsv(277, 64%, 67%)
CMYKcmyk(24.7%, 63.5%, 0%, 33.3%)
CIE-LABlab(39.47, 47.37, -46.62)
CIE-LCHlch(39.47, 66.47, 315.46°)
OKLaboklab(49.87% 0.1093 -0.1315)
OKLCHoklch(49.87% 0.171 309.7)
XYZxyz(17.8790, 10.9371, 39.1916)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EAA #68AA3E
analogous
#4A3EAA #803EAA #AA3E9E
triadic
#803EAA #AA803E #3EAA80
tetradic
#803EAA #AA4A3E #68AA3E #3E9EAA
square
#803EAA #AA4A3E #68AA3E #3E9EAA
split-complementary
#803EAA #9EAA3E #3EAA4A
monochromatic
#3C1D50 #5E2E7D #803EAA #9E60C5 #B98DD5

Accessibility & contrast

On white

6.59
#803EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#803EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EAA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EAA#FFFFFF#000000##FFFFFF
##803EAA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045AAD
Deuteranopia (green-blind)
#305EA7
Tritanopia (blue-blind)
#7A536E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803eaa;
/* rgb */ color: rgb(128, 62, 170);
/* oklch */ color: oklch(49.9% 0.171 309.7);
Tailwind
colors: {
  custom: {
    50: '#a877c4',
    500: '#803eaa',
    950: '#000000',
  },
}
SCSS
$custom: #803eaa;
$custom-light: #a877c4;
$custom-dark: #000000;
JSON
{
  "hex": "#803eaa",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 276.667,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4987,
    "c": 0.17096,
    "h": 309.7
  },
  "luminance": 0.10937
}

Semantic roles & 50–950 ramp

primary
#803EAA
secondary
#9BC084
accent
#D65285
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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