#803CB5#803CB5

#803CB5 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.186 H 306.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#803CB5
RGBrgb(128, 60, 181)
HSLhsl(274, 50%, 47%)
HSVhsv(274, 67%, 71%)
CMYKcmyk(29.3%, 66.9%, 0%, 29%)
CIE-LABlab(39.84, 50.91, -52.55)
CIE-LCHlch(39.84, 73.16, 314.09°)
OKLaboklab(50.37% 0.1109 -0.1489)
OKLCHoklch(50.37% 0.186 306.7)
XYZxyz(18.8567, 11.1573, 44.8673)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CB5 #71B53C
analogous
#443CB5 #803CB5 #B53CAD
triadic
#803CB5 #B5803C #3CB580
tetradic
#803CB5 #B5443C #71B53C #3CADB5
square
#803CB5 #B5443C #71B53C #3CADB5
split-complementary
#803CB5 #ADB53C #3CB544
monochromatic
#3F1E59 #5F2D87 #803CB5 #9E63CB #BA91DB

Accessibility & contrast

On white

6.50
#803CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#803CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CB5
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CB5#FFFFFF#000000##FFFFFF
##803CB51.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#1E5EB2
Tritanopia (blue-blind)
#775673
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803cb5;
/* rgb */ color: rgb(128, 60, 181);
/* oklch */ color: oklch(50.4% 0.186 306.7);
Tailwind
colors: {
  custom: {
    50: '#a976cc',
    500: '#803cb5',
    950: '#000000',
  },
}
SCSS
$custom: #803cb5;
$custom-light: #a976cc;
$custom-dark: #000000;
JSON
{
  "hex": "#803cb5",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 273.719,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50369,
    "c": 0.18562,
    "h": 306.7
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#803CB5
secondary
#A3C687
accent
#DA4E8B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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