#803DC4#803DC4

#803DC4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.200 H 302.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#803DC4
RGBrgb(128, 61, 196)
HSLhsl(270, 53%, 50%)
HSVhsv(270, 69%, 77%)
CMYKcmyk(34.7%, 68.9%, 0%, 23.1%)
CIE-LABlab(41.08, 53.99, -59.34)
CIE-LCHlch(41.08, 80.23, 312.30°)
OKLaboklab(51.59% 0.108 -0.1689)
OKLCHoklch(51.59% 0.2 302.6)
XYZxyz(20.5323, 11.9122, 53.4314)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DC4 #81C43D
analogous
#3D3DC4 #803DC4 #C43DC4
triadic
#803DC4 #C4803D #3DC480
tetradic
#803DC4 #C43D3D #81C43D #3DC4C4
square
#803DC4 #C43D3D #81C43D #3DC4C4
split-complementary
#803DC4 #C4C43D #3DC43D
monochromatic
#431F67 #622E96 #803DC4 #9F6CD2 #BD9BE1

Accessibility & contrast

On white

6.21
#803DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #803DC4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DC4#FFFFFF#000000##FFFFFF
##803DC41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#725C7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803dc4;
/* rgb */ color: rgb(128, 61, 196);
/* oklch */ color: oklch(51.6% 0.200 302.6);
Tailwind
colors: {
  custom: {
    50: '#aa78d7',
    500: '#803dc4',
    950: '#000000',
  },
}
SCSS
$custom: #803dc4;
$custom-light: #aa78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#803dc4",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 269.778,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51586,
    "c": 0.20043,
    "h": 302.6
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#803DC4
secondary
#AFCD90
accent
#DD4B94
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #803DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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