#803FC7#803FC7

#803FC7 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.201 H 301.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#803FC7
RGBrgb(128, 63, 199)
HSLhsl(269, 55%, 51%)
HSVhsv(269, 68%, 78%)
CMYKcmyk(35.7%, 68.3%, 0%, 22%)
CIE-LABlab(41.64, 53.76, -60.18)
CIE-LCHlch(41.64, 80.70, 311.78°)
OKLaboklab(52.06% 0.1055 -0.1713)
OKLCHoklch(52.06% 0.201 301.6)
XYZxyz(20.9859, 12.2676, 55.2840)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FC7 #86C73F
analogous
#3F42C7 #803FC7 #C43FC7
triadic
#803FC7 #C7803F #3FC780
tetradic
#803FC7 #C73F42 #86C73F #3FC7C4
square
#803FC7 #C73F42 #86C73F #3FC7C4
split-complementary
#803FC7 #C7C43F #42C73F
monochromatic
#44206C #622D9B #803FC7 #9F6ED5 #BF9EE3

Accessibility & contrast

On white

6.08
#803FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#803FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FC7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FC7#FFFFFF#000000##FFFFFF
##803FC71.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#715F7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #803fc7;
/* rgb */ color: rgb(128, 63, 199);
/* oklch */ color: oklch(52.1% 0.201 301.6);
Tailwind
colors: {
  custom: {
    50: '#aa79d9',
    500: '#803fc7',
    950: '#000000',
  },
}
SCSS
$custom: #803fc7;
$custom-light: #aa79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#803fc7",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 268.676,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52057,
    "c": 0.20118,
    "h": 301.6
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#803FC7
secondary
#B2CF93
accent
#DE4A97
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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