#803DB6#803DB6

#803DB6 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.185 H 306.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#803DB6
RGBrgb(128, 61, 182)
HSLhsl(273, 50%, 48%)
HSVhsv(273, 66%, 71%)
CMYKcmyk(29.7%, 66.5%, 0%, 28.6%)
CIE-LABlab(40.09, 50.66, -52.74)
CIE-LCHlch(40.09, 73.13, 313.85°)
OKLaboklab(50.57% 0.1096 -0.1495)
OKLCHoklch(50.57% 0.185 306.3)
XYZxyz(19.0125, 11.3043, 45.4272)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DB6 #73B63D
analogous
#433DB6 #803DB6 #B63DAF
triadic
#803DB6 #B6803D #3DB680
tetradic
#803DB6 #B6433D #73B63D #3DAFB6
square
#803DB6 #B6433D #73B63D #3DAFB6
split-complementary
#803DB6 #AFB63D #3DB643
monochromatic
#401E5A #602E88 #803DB6 #9E65CB #BB93DB

Accessibility & contrast

On white

6.44
#803DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#803DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DB6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DB6#FFFFFF#000000##FFFFFF
##803DB61.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#1E5FB3
Tritanopia (blue-blind)
#775774
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803db6;
/* rgb */ color: rgb(128, 61, 182);
/* oklch */ color: oklch(50.6% 0.185 306.3);
Tailwind
colors: {
  custom: {
    50: '#a977cd',
    500: '#803db6',
    950: '#000000',
  },
}
SCSS
$custom: #803db6;
$custom-light: #a977cd;
$custom-dark: #000000;
JSON
{
  "hex": "#803db6",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 273.223,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50566,
    "c": 0.18536,
    "h": 306.3
  },
  "luminance": 0.11304
}

Semantic roles & 50–950 ramp

primary
#803DB6
secondary
#A4C689
accent
#D94E8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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