#803CB9#803CB9

#803CB9 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.190 H 305.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#803CB9
RGBrgb(128, 60, 185)
HSLhsl(273, 51%, 48%)
HSVhsv(273, 68%, 73%)
CMYKcmyk(30.8%, 67.6%, 0%, 27.5%)
CIE-LABlab(40.12, 51.85, -54.45)
CIE-LCHlch(40.12, 75.19, 313.60°)
OKLaboklab(50.65% 0.1104 -0.1545)
OKLCHoklch(50.65% 0.19 305.6)
XYZxyz(19.2730, 11.3238, 47.0599)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CB9 #75B93C
analogous
#423CB9 #803CB9 #B93CB3
triadic
#803CB9 #B9803C #3CB980
tetradic
#803CB9 #B9423C #75B93C #3CB3B9
square
#803CB9 #B9423C #75B93C #3CB3B9
split-complementary
#803CB9 #B3B93C #3CB942
monochromatic
#401E5D #602D8B #803CB9 #9E65CD #BB93DC

Accessibility & contrast

On white

6.43
#803CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #803CB9
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CB9#FFFFFF#000000##FFFFFF
##803CB91.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#155FB6
Tritanopia (blue-blind)
#765876
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803cb9;
/* rgb */ color: rgb(128, 60, 185);
/* oklch */ color: oklch(50.7% 0.190 305.6);
Tailwind
colors: {
  custom: {
    50: '#a977cf',
    500: '#803cb9',
    950: '#000000',
  },
}
SCSS
$custom: #803cb9;
$custom-light: #a977cf;
$custom-dark: #000000;
JSON
{
  "hex": "#803cb9",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 272.64,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50655,
    "c": 0.18991,
    "h": 305.6
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#803CB9
secondary
#A6C789
accent
#DA4D8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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