#803CC6#803CC6

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

Color values

HEX#803CC6
RGBrgb(128, 60, 198)
HSLhsl(270, 55%, 51%)
HSVhsv(270, 70%, 78%)
CMYKcmyk(35.4%, 69.7%, 0%, 22.4%)
CIE-LABlab(41.05, 54.95, -60.55)
CIE-LCHlch(41.05, 81.76, 312.22°)
OKLaboklab(51.62% 0.1087 -0.1724)
OKLCHoklch(51.62% 0.204 302.2)
XYZxyz(20.7086, 11.8981, 54.6207)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CC6 #82C63C
analogous
#3C3DC6 #803CC6 #C53CC6
triadic
#803CC6 #C6803C #3CC680
tetradic
#803CC6 #C63C3D #82C63C #3CC6C5
square
#803CC6 #C63C3D #82C63C #3CC6C5
split-complementary
#803CC6 #C6C53C #3DC63C
monochromatic
#431F69 #622D98 #803CC6 #9F6BD4 #BE9BE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##803CC6#FFFFFF#000000##FFFFFF
##803CC61.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)
#0060CA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#715D7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803cc6;
/* rgb */ color: rgb(128, 60, 198);
/* oklch */ color: oklch(51.6% 0.204 302.2);
Tailwind
colors: {
  custom: {
    50: '#aa77d8',
    500: '#803cc6',
    950: '#000000',
  },
}
SCSS
$custom: #803cc6;
$custom-light: #aa77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#803cc6",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 269.565,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.20379,
    "h": 302.2
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#803CC6
secondary
#AFCE90
accent
#DE4A95
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #803CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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