#803DB5#803DB5

#803DB5 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.184 H 306.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#803DB5
RGBrgb(128, 61, 181)
HSLhsl(274, 50%, 47%)
HSVhsv(274, 66%, 71%)
CMYKcmyk(29.3%, 66.3%, 0%, 29%)
CIE-LABlab(40.02, 50.42, -52.26)
CIE-LCHlch(40.02, 72.62, 313.97°)
OKLaboklab(50.5% 0.1097 -0.148)
OKLCHoklch(50.5% 0.184 306.5)
XYZxyz(18.9095, 11.2631, 44.8849)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DB5 #72B53D
analogous
#443DB5 #803DB5 #B53DAE
triadic
#803DB5 #B5803D #3DB580
tetradic
#803DB5 #B5443D #72B53D #3DAEB5
square
#803DB5 #B5443D #72B53D #3DAEB5
split-complementary
#803DB5 #AEB53D #3DB544
monochromatic
#3F1E59 #602E87 #803DB5 #9E64CB #BA92DA

Accessibility & contrast

On white

6.46
#803DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#803DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DB5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DB5#FFFFFF#000000##FFFFFF
##803DB51.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#205FB2
Tritanopia (blue-blind)
#775774
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803db5;
/* rgb */ color: rgb(128, 61, 181);
/* oklch */ color: oklch(50.5% 0.184 306.5);
Tailwind
colors: {
  custom: {
    50: '#a977cc',
    500: '#803db5',
    950: '#000000',
  },
}
SCSS
$custom: #803db5;
$custom-light: #a977cc;
$custom-dark: #000000;
JSON
{
  "hex": "#803db5",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 273.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50496,
    "c": 0.18428,
    "h": 306.5
  },
  "luminance": 0.11263
}

Semantic roles & 50–950 ramp

primary
#803DB5
secondary
#A3C588
accent
#D94F8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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