#803BC5#803BC5

#803BC5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.204 H 302.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#803BC5
RGBrgb(128, 59, 197)
HSLhsl(270, 54%, 50%)
HSVhsv(270, 70%, 77%)
CMYKcmyk(35%, 70.1%, 0%, 22.7%)
CIE-LABlab(40.81, 55.17, -60.35)
CIE-LCHlch(40.81, 81.77, 312.43°)
OKLaboklab(51.42% 0.1099 -0.1718)
OKLCHoklch(51.42% 0.204 302.6)
XYZxyz(20.5417, 11.7483, 53.9979)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BC5 #80C53B
analogous
#3B3BC5 #803BC5 #C53BC5
triadic
#803BC5 #C5803B #3BC580
tetradic
#803BC5 #C53B3B #80C53B #3BC5C5
square
#803BC5 #C53B3B #80C53B #3BC5C5
split-complementary
#803BC5 #C5C53B #3BC53B
monochromatic
#431F67 #612C96 #803BC5 #9F6AD3 #BD99E1

Accessibility & contrast

On white

6.27
#803BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#803BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BC5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BC5#FFFFFF#000000##FFFFFF
##803BC51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #803bc5;
/* rgb */ color: rgb(128, 59, 197);
/* oklch */ color: oklch(51.4% 0.204 302.6);
Tailwind
colors: {
  custom: {
    50: '#aa76d7',
    500: '#803bc5',
    950: '#000000',
  },
}
SCSS
$custom: #803bc5;
$custom-light: #aa76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#803bc5",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 270,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.20394,
    "h": 302.6
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#803BC5
secondary
#AECD8F
accent
#DE4A94
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #803BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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