#803FC2#803FC2

#803FC2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.196 H 302.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#803FC2
RGBrgb(128, 63, 194)
HSLhsl(270, 52%, 50%)
HSVhsv(270, 68%, 76%)
CMYKcmyk(34%, 67.5%, 0%, 23.9%)
CIE-LABlab(41.28, 52.55, -57.85)
CIE-LCHlch(41.28, 78.15, 312.25°)
OKLaboklab(51.69% 0.1061 -0.1645)
OKLCHoklch(51.69% 0.196 302.8)
XYZxyz(20.4149, 12.0392, 52.2768)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FC2 #81C23F
analogous
#3F3FC2 #803FC2 #C23FC2
triadic
#803FC2 #C2803F #3FC280
tetradic
#803FC2 #C23F3F #81C23F #3FC2C2
square
#803FC2 #C23F3F #81C23F #3FC2C2
split-complementary
#803FC2 #C2C23F #3FC23F
monochromatic
#432066 #622F95 #803FC2 #9F6DD1 #BD9CE0

Accessibility & contrast

On white

6.16
#803FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#803FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FC2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FC2#FFFFFF#000000##FFFFFF
##803FC21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#735D7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803fc2;
/* rgb */ color: rgb(128, 63, 194);
/* oklch */ color: oklch(51.7% 0.196 302.8);
Tailwind
colors: {
  custom: {
    50: '#aa79d5',
    500: '#803fc2',
    950: '#000000',
  },
}
SCSS
$custom: #803fc2;
$custom-light: #aa79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#803fc2",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 269.771,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51686,
    "c": 0.19575,
    "h": 302.8
  },
  "luminance": 0.12039
}

Semantic roles & 50–950 ramp

primary
#803FC2
secondary
#AFCC91
accent
#DB4D94
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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