#803DC3#803DC3

#803DC3 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.199 H 302.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#803DC3
RGBrgb(128, 61, 195)
HSLhsl(270, 53%, 50%)
HSVhsv(270, 69%, 76%)
CMYKcmyk(34.4%, 68.7%, 0%, 23.5%)
CIE-LABlab(41.00, 53.75, -58.88)
CIE-LCHlch(41.00, 79.73, 312.39°)
OKLaboklab(51.51% 0.1081 -0.1675)
OKLCHoklch(51.51% 0.199 302.8)
XYZxyz(20.4189, 11.8668, 52.8340)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DC3 #80C33D
analogous
#3D3DC3 #803DC3 #C33DC3
triadic
#803DC3 #C3803D #3DC380
tetradic
#803DC3 #C33D3D #80C33D #3DC3C3
square
#803DC3 #C33D3D #80C33D #3DC3C3
split-complementary
#803DC3 #C3C33D #3DC33D
monochromatic
#432066 #612E95 #803DC3 #9F6CD1 #BD9AE0

Accessibility & contrast

On white

6.23
#803DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#803DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DC3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DC3#FFFFFF#000000##FFFFFF
##803DC31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#735C7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803dc3;
/* rgb */ color: rgb(128, 61, 195);
/* oklch */ color: oklch(51.5% 0.199 302.8);
Tailwind
colors: {
  custom: {
    50: '#aa77d6',
    500: '#803dc3',
    950: '#000000',
  },
}
SCSS
$custom: #803dc3;
$custom-light: #aa77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#803dc3",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 270,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51512,
    "c": 0.19935,
    "h": 302.8
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#803DC3
secondary
#AECC90
accent
#DC4C94
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #803DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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