#803EC1#803EC1

#803EC1 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.196 H 303.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#803EC1
RGBrgb(128, 62, 193)
HSLhsl(270, 51%, 50%)
HSVhsv(270, 68%, 76%)
CMYKcmyk(33.7%, 67.9%, 0%, 24.3%)
CIE-LABlab(41.03, 52.79, -57.67)
CIE-LCHlch(41.03, 78.18, 312.47°)
OKLaboklab(51.49% 0.1073 -0.1639)
OKLCHoklch(51.49% 0.196 303.2)
XYZxyz(20.2481, 11.8847, 51.6690)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EC1 #7FC13E
analogous
#3E3EC1 #803EC1 #C13EC1
triadic
#803EC1 #C1803E #3EC180
tetradic
#803EC1 #C13E3E #7FC13E #3EC1C1
square
#803EC1 #C13E3E #7FC13E #3EC1C1
split-complementary
#803EC1 #C1C13E #3EC13E
monochromatic
#432064 #612F93 #803EC1 #9E6CD0 #BD9BDF

Accessibility & contrast

On white

6.22
#803EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#803EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EC1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EC1#FFFFFF#000000##FFFFFF
##803EC11.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#735C7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803ec1;
/* rgb */ color: rgb(128, 62, 193);
/* oklch */ color: oklch(51.5% 0.196 303.2);
Tailwind
colors: {
  custom: {
    50: '#aa78d5',
    500: '#803ec1',
    950: '#000000',
  },
}
SCSS
$custom: #803ec1;
$custom-light: #aa78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#803ec1",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 270.229,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.51487,
    "c": 0.19594,
    "h": 303.2
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#803EC1
secondary
#ADCB90
accent
#DB4D93
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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