#803BB9#803BB9

#803BB9 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.191 H 305.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#803BB9
RGBrgb(128, 59, 185)
HSLhsl(273, 52%, 48%)
HSVhsv(273, 68%, 73%)
CMYKcmyk(30.8%, 68.1%, 0%, 27.5%)
CIE-LABlab(39.95, 52.32, -54.73)
CIE-LCHlch(39.95, 75.72, 313.71°)
OKLaboklab(50.53% 0.1115 -0.1553)
OKLCHoklch(50.53% 0.191 305.7)
XYZxyz(19.2211, 11.2201, 47.0426)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BB9 #74B93B
analogous
#413BB9 #803BB9 #B93BB3
triadic
#803BB9 #B9803B #3BB980
tetradic
#803BB9 #B9413B #74B93B #3BB3B9
square
#803BB9 #B9413B #74B93B #3BB3B9
split-complementary
#803BB9 #B3B93B #3BB941
monochromatic
#401D5C #602C8B #803BB9 #9E64CD #BB92DC

Accessibility & contrast

On white

6.47
#803BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#803BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BB9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BB9#FFFFFF#000000##FFFFFF
##803BB91.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#135EB6
Tritanopia (blue-blind)
#765775
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803bb9;
/* rgb */ color: rgb(128, 59, 185);
/* oklch */ color: oklch(50.5% 0.191 305.7);
Tailwind
colors: {
  custom: {
    50: '#a976cf',
    500: '#803bb9',
    950: '#000000',
  },
}
SCSS
$custom: #803bb9;
$custom-light: #a976cf;
$custom-dark: #000000;
JSON
{
  "hex": "#803bb9",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 272.857,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.1912,
    "h": 305.7
  },
  "luminance": 0.1122
}

Semantic roles & 50–950 ramp

primary
#803BB9
secondary
#A5C788
accent
#DB4D8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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