#803EC3#803EC3

#803EC3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.198 H 302.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#803EC3
RGBrgb(128, 62, 195)
HSLhsl(270, 53%, 50%)
HSVhsv(270, 68%, 76%)
CMYKcmyk(34.4%, 68.2%, 0%, 23.5%)
CIE-LABlab(41.18, 53.27, -58.60)
CIE-LCHlch(41.18, 79.20, 312.27°)
OKLaboklab(51.64% 0.1071 -0.1667)
OKLCHoklch(51.64% 0.198 302.7)
XYZxyz(20.4727, 11.9746, 52.8519)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EC3 #81C33E
analogous
#3E3FC3 #803EC3 #C23EC3
triadic
#803EC3 #C3803E #3EC380
tetradic
#803EC3 #C33E3F #81C33E #3EC3C2
square
#803EC3 #C33E3F #81C33E #3EC3C2
split-complementary
#803EC3 #C3C23E #3FC33E
monochromatic
#432067 #622E95 #803EC3 #9F6DD2 #BD9BE0

Accessibility & contrast

On white

6.19
#803EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#803EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EC3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EC3#FFFFFF#000000##FFFFFF
##803EC31.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#725D7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803ec3;
/* rgb */ color: rgb(128, 62, 195);
/* oklch */ color: oklch(51.6% 0.198 302.7);
Tailwind
colors: {
  custom: {
    50: '#aa78d6',
    500: '#803ec3',
    950: '#000000',
  },
}
SCSS
$custom: #803ec3;
$custom-light: #aa78d6;
$custom-dark: #000000;
JSON
{
  "hex": "#803ec3",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 269.774,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51635,
    "c": 0.1981,
    "h": 302.7
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#803EC3
secondary
#AFCC91
accent
#DC4C94
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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