#803FB5#803FB5

#803FB5 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.182 H 306.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#803FB5
RGBrgb(128, 63, 181)
HSLhsl(273, 48%, 48%)
HSVhsv(273, 65%, 71%)
CMYKcmyk(29.3%, 65.2%, 0%, 29%)
CIE-LABlab(40.38, 49.44, -51.68)
CIE-LCHlch(40.38, 71.52, 313.73°)
OKLaboklab(50.75% 0.1074 -0.1464)
OKLCHoklch(50.75% 0.182 306.3)
XYZxyz(19.0183, 11.4806, 44.9212)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FB5 #74B53F
analogous
#453FB5 #803FB5 #B53FAF
triadic
#803FB5 #B5803F #3FB580
tetradic
#803FB5 #B5453F #74B53F #3FAFB5
square
#803FB5 #B5453F #74B53F #3FAFB5
split-complementary
#803FB5 #AFB53F #3FB545
monochromatic
#401F5A #602F88 #803FB5 #9E67CA #BB94DA

Accessibility & contrast

On white

6.37
#803FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#803FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FB5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FB5#FFFFFF#000000##FFFFFF
##803FB51.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#2360B2
Tritanopia (blue-blind)
#775874
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803fb5;
/* rgb */ color: rgb(128, 63, 181);
/* oklch */ color: oklch(50.8% 0.182 306.3);
Tailwind
colors: {
  custom: {
    50: '#a978cc',
    500: '#803fb5',
    950: '#000000',
  },
}
SCSS
$custom: #803fb5;
$custom-light: #a978cc;
$custom-dark: #000000;
JSON
{
  "hex": "#803fb5",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 273.051,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.18155,
    "h": 306.3
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#803FB5
secondary
#A5C58A
accent
#D8508D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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