#803DC5#803DC5

#803DC5 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.202 H 302.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#803DC5
RGBrgb(128, 61, 197)
HSLhsl(270, 54%, 51%)
HSVhsv(270, 69%, 77%)
CMYKcmyk(35%, 69%, 0%, 22.7%)
CIE-LABlab(41.15, 54.23, -59.81)
CIE-LCHlch(41.15, 80.74, 312.20°)
OKLaboklab(51.66% 0.1078 -0.1702)
OKLCHoklch(51.66% 0.202 302.3)
XYZxyz(20.6465, 11.9579, 54.0329)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DC5 #82C53D
analogous
#3D3EC5 #803DC5 #C43DC5
triadic
#803DC5 #C5803D #3DC580
tetradic
#803DC5 #C53D3E #82C53D #3DC5C4
square
#803DC5 #C53D3E #82C53D #3DC5C4
split-complementary
#803DC5 #C5C43D #3EC53D
monochromatic
#431F68 #622D98 #803DC5 #9F6CD3 #BE9BE1

Accessibility & contrast

On white

6.19
#803DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#803DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DC5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DC5#FFFFFF#000000##FFFFFF
##803DC51.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#725D7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803dc5;
/* rgb */ color: rgb(128, 61, 197);
/* oklch */ color: oklch(51.7% 0.202 302.3);
Tailwind
colors: {
  custom: {
    50: '#aa78d7',
    500: '#803dc5',
    950: '#000000',
  },
}
SCSS
$custom: #803dc5;
$custom-light: #aa78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#803dc5",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 269.559,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.2015,
    "h": 302.3
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

primary
#803DC5
secondary
#AFCD91
accent
#DD4A95
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #803DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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