#803FAA#803FAA

#803FAA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.170 H 309.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#803FAA
RGBrgb(128, 63, 170)
HSLhsl(276, 46%, 46%)
HSVhsv(276, 63%, 67%)
CMYKcmyk(24.7%, 62.9%, 0%, 33.3%)
CIE-LABlab(39.66, 46.87, -46.33)
CIE-LCHlch(39.66, 65.90, 315.33°)
OKLaboklab(50% 0.108 -0.1306)
OKLCHoklch(50% 0.17 309.6)
XYZxyz(17.9339, 11.0468, 39.2099)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FAA #69AA3F
analogous
#4B3FAA #803FAA #AA3F9E
triadic
#803FAA #AA803F #3FAA80
tetradic
#803FAA #AA4B3F #69AA3F #3F9EAA
square
#803FAA #AA4B3F #69AA3F #3F9EAA
split-complementary
#803FAA #9EAA3F #3FAA4B
monochromatic
#3D1E51 #5E2E7D #803FAA #9E62C5 #B98ED5

Accessibility & contrast

On white

6.54
#803FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#803FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FAA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FAA#FFFFFF#000000##FFFFFF
##803FAA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095BAD
Deuteranopia (green-blind)
#315EA8
Tritanopia (blue-blind)
#7A546F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803faa;
/* rgb */ color: rgb(128, 63, 170);
/* oklch */ color: oklch(50.0% 0.170 309.6);
Tailwind
colors: {
  custom: {
    50: '#a878c4',
    500: '#803faa',
    950: '#000000',
  },
}
SCSS
$custom: #803faa;
$custom-light: #a878c4;
$custom-dark: #000000;
JSON
{
  "hex": "#803faa",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 276.449,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50004,
    "c": 0.16951,
    "h": 309.6
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#803FAA
secondary
#9CC085
accent
#D65286
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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