#803FC4#803FC4

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

Color values

HEX#803FC4
RGBrgb(128, 63, 196)
HSLhsl(269, 53%, 51%)
HSVhsv(269, 68%, 77%)
CMYKcmyk(34.7%, 67.9%, 0%, 23.1%)
CIE-LABlab(41.42, 53.03, -58.79)
CIE-LCHlch(41.42, 79.17, 312.05°)
OKLaboklab(51.83% 0.1059 -0.1672)
OKLCHoklch(51.83% 0.198 302.3)
XYZxyz(20.6410, 12.1297, 53.4677)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FC4 #83C43F
analogous
#3F40C4 #803FC4 #C23FC4
triadic
#803FC4 #C4803F #3FC480
tetradic
#803FC4 #C43F40 #83C43F #3FC4C2
square
#803FC4 #C43F40 #83C43F #3FC4C2
split-complementary
#803FC4 #C4C23F #40C43F
monochromatic
#432068 #622E97 #803FC4 #9F6ED2 #BE9DE1

Accessibility & contrast

On white

6.13
#803FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#803FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FC4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FC4#FFFFFF#000000##FFFFFF
##803FC41.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#725E7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #803fc4;
/* rgb */ color: rgb(128, 63, 196);
/* oklch */ color: oklch(51.8% 0.198 302.3);
Tailwind
colors: {
  custom: {
    50: '#aa79d7',
    500: '#803fc4',
    950: '#000000',
  },
}
SCSS
$custom: #803fc4;
$custom-light: #aa79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#803fc4",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 269.323,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.19791,
    "h": 302.3
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#803FC4
secondary
#B0CD92
accent
#DC4B96
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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