#803CD5#803CD5

#803CD5 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.220 H 298.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#803CD5
RGBrgb(128, 60, 213)
HSLhsl(267, 65%, 54%)
HSVhsv(267, 72%, 84%)
CMYKcmyk(39.9%, 71.8%, 0%, 16.5%)
CIE-LABlab(42.19, 58.59, -67.37)
CIE-LCHlch(42.19, 89.28, 311.01°)
OKLaboklab(52.78% 0.106 -0.1924)
OKLCHoklch(52.78% 0.22 298.8)
XYZxyz(22.5251, 12.6247, 64.1880)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CD5 #91D53C
analogous
#3C44D5 #803CD5 #CD3CD5
triadic
#803CD5 #D5803C #3CD580
tetradic
#803CD5 #D53C44 #91D53C #3CD5CD
square
#803CD5 #D53C44 #91D53C #3CD5CD
split-complementary
#803CD5 #D5CD3C #44D53C
monochromatic
#461B7C #6226AE #803CD5 #A16EE0 #C2A1EB

Accessibility & contrast

On white

5.96
#803CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#803CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CD5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CD5#FFFFFF#000000##FFFFFF
##803CD51.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#6C6285
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #803cd5;
/* rgb */ color: rgb(128, 60, 213);
/* oklch */ color: oklch(52.8% 0.220 298.8);
Tailwind
colors: {
  custom: {
    50: '#ac78e3',
    500: '#803cd5',
    950: '#000000',
  },
}
SCSS
$custom: #803cd5;
$custom-light: #ac78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#803cd5",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 266.667,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.21971,
    "h": 298.8
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#803CD5
secondary
#BAD796
accent
#E8409D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #803CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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