#803BC6#803BC6

#803BC6 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.205 H 302.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#803BC6
RGBrgb(128, 59, 198)
HSLhsl(270, 55%, 50%)
HSVhsv(270, 70%, 78%)
CMYKcmyk(35.4%, 70.2%, 0%, 22.4%)
CIE-LABlab(40.89, 55.41, -60.82)
CIE-LCHlch(40.89, 82.27, 312.34°)
OKLaboklab(51.5% 0.1097 -0.1732)
OKLCHoklch(51.5% 0.205 302.4)
XYZxyz(20.6567, 11.7943, 54.6034)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BC6 #81C63B
analogous
#3B3BC6 #803BC6 #C53BC6
triadic
#803BC6 #C6803B #3BC680
tetradic
#803BC6 #C63B3B #81C63B #3BC6C5
square
#803BC6 #C63B3B #81C63B #3BC6C5
split-complementary
#803BC6 #C6C53B #3BC63B
monochromatic
#431E68 #622C98 #803BC6 #9F6AD4 #BD9AE2

Accessibility & contrast

On white

6.25
#803BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#803BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BC6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BC6#FFFFFF#000000##FFFFFF
##803BC61.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#725C7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803bc6;
/* rgb */ color: rgb(128, 59, 198);
/* oklch */ color: oklch(51.5% 0.205 302.4);
Tailwind
colors: {
  custom: {
    50: '#aa76d8',
    500: '#803bc6',
    950: '#000000',
  },
}
SCSS
$custom: #803bc6;
$custom-light: #aa76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#803bc6",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 269.784,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.205,
    "h": 302.4
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#803BC6
secondary
#AFCD8F
accent
#DE4A94
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #803BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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