#803BC7#803BC7

#803BC7 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.206 H 302.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#803BC7
RGBrgb(128, 59, 199)
HSLhsl(270, 56%, 51%)
HSVhsv(270, 70%, 78%)
CMYKcmyk(35.7%, 70.4%, 0%, 22%)
CIE-LABlab(40.96, 55.65, -61.28)
CIE-LCHlch(40.96, 82.78, 312.25°)
OKLaboklab(51.57% 0.1095 -0.1745)
OKLCHoklch(51.57% 0.206 302.1)
XYZxyz(20.7724, 11.8406, 55.2129)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BC7 #82C73B
analogous
#3B3CC7 #803BC7 #C63BC7
triadic
#803BC7 #C7803B #3BC780
tetradic
#803BC7 #C73B3C #82C73B #3BC7C6
square
#803BC7 #C73B3C #82C73B #3BC7C6
split-complementary
#803BC7 #C7C63B #3CC73B
monochromatic
#431E69 #622C99 #803BC7 #9F6BD5 #BE9AE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##803BC7#FFFFFF#000000##FFFFFF
##803BC71.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)
#0060CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#715C7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803bc7;
/* rgb */ color: rgb(128, 59, 199);
/* oklch */ color: oklch(51.6% 0.206 302.1);
Tailwind
colors: {
  custom: {
    50: '#aa77d9',
    500: '#803bc7',
    950: '#000000',
  },
}
SCSS
$custom: #803bc7;
$custom-light: #aa77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#803bc7",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 269.571,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.20606,
    "h": 302.1
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#803BC7
secondary
#AFCE90
accent
#DF4995
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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