#803FC3#803FC3

#803FC3 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.197 H 302.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#803FC3
RGBrgb(128, 63, 195)
HSLhsl(270, 52%, 51%)
HSVhsv(270, 68%, 76%)
CMYKcmyk(34.4%, 67.7%, 0%, 23.5%)
CIE-LABlab(41.35, 52.79, -58.32)
CIE-LCHlch(41.35, 78.66, 312.15°)
OKLaboklab(51.76% 0.106 -0.1659)
OKLCHoklch(51.76% 0.197 302.6)
XYZxyz(20.5276, 12.0843, 52.8702)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FC3 #82C33F
analogous
#3F40C3 #803FC3 #C23FC3
triadic
#803FC3 #C3803F #3FC380
tetradic
#803FC3 #C33F40 #82C33F #3FC3C2
square
#803FC3 #C33F40 #82C33F #3FC3C2
split-complementary
#803FC3 #C3C23F #40C33F
monochromatic
#432067 #622F96 #803FC3 #9F6ED2 #BE9CE0

Accessibility & contrast

On white

6.15
#803FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#803FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FC3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FC3#FFFFFF#000000##FFFFFF
##803FC31.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #803fc3;
/* rgb */ color: rgb(128, 63, 195);
/* oklch */ color: oklch(51.8% 0.197 302.6);
Tailwind
colors: {
  custom: {
    50: '#aa79d6',
    500: '#803fc3',
    950: '#000000',
  },
}
SCSS
$custom: #803fc3;
$custom-light: #aa79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#803fc3",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 269.545,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.19683,
    "h": 302.6
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#803FC3
secondary
#AFCC92
accent
#DC4C95
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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