#803CBA#803CBA

#803CBA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.191 H 305.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#803CBA
RGBrgb(128, 60, 186)
HSLhsl(272, 51%, 48%)
HSVhsv(272, 68%, 73%)
CMYKcmyk(31.2%, 67.7%, 0%, 27.1%)
CIE-LABlab(40.19, 52.08, -54.93)
CIE-LCHlch(40.19, 75.70, 313.48°)
OKLaboklab(50.73% 0.1103 -0.1559)
OKLCHoklch(50.73% 0.191 305.3)
XYZxyz(19.3789, 11.3662, 47.6178)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CBA #76BA3C
analogous
#413CBA #803CBA #BA3CB5
triadic
#803CBA #BA803C #3CBA80
tetradic
#803CBA #BA413C #76BA3C #3CB5BA
square
#803CBA #BA413C #76BA3C #3CB5BA
split-complementary
#803CBA #B5BA3C #3CBA41
monochromatic
#401E5D #602D8C #803CBA #9E66CE #BB94DC

Accessibility & contrast

On white

6.42
#803CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#803CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CBA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CBA#FFFFFF#000000##FFFFFF
##803CBA1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#125FB7
Tritanopia (blue-blind)
#765876
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803cba;
/* rgb */ color: rgb(128, 60, 186);
/* oklch */ color: oklch(50.7% 0.191 305.3);
Tailwind
colors: {
  custom: {
    50: '#a977cf',
    500: '#803cba',
    950: '#000000',
  },
}
SCSS
$custom: #803cba;
$custom-light: #a977cf;
$custom-dark: #000000;
JSON
{
  "hex": "#803cba",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 272.381,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.19097,
    "h": 305.3
  },
  "luminance": 0.11366
}

Semantic roles & 50–950 ramp

primary
#803CBA
secondary
#A6C88A
accent
#DB4D8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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