#803EB5#803EB5

#803EB5 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.183 H 306.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#803EB5
RGBrgb(128, 62, 181)
HSLhsl(273, 49%, 48%)
HSVhsv(273, 66%, 71%)
CMYKcmyk(29.3%, 65.7%, 0%, 29%)
CIE-LABlab(40.20, 49.93, -51.97)
CIE-LCHlch(40.20, 72.07, 313.85°)
OKLaboklab(50.62% 0.1086 -0.1472)
OKLCHoklch(50.62% 0.183 306.4)
XYZxyz(18.9634, 11.3708, 44.9029)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EB5 #73B53E
analogous
#443EB5 #803EB5 #B53EAF
triadic
#803EB5 #B5803E #3EB580
tetradic
#803EB5 #B5443E #73B53E #3EAFB5
square
#803EB5 #B5443E #73B53E #3EAFB5
split-complementary
#803EB5 #AFB53E #3EB544
monochromatic
#401F5A #602E87 #803EB5 #9E66CA #BB93DA

Accessibility & contrast

On white

6.41
#803EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #803EB5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EB5#FFFFFF#000000##FFFFFF
##803EB51.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#215FB2
Tritanopia (blue-blind)
#775774
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803eb5;
/* rgb */ color: rgb(128, 62, 181);
/* oklch */ color: oklch(50.6% 0.183 306.4);
Tailwind
colors: {
  custom: {
    50: '#a978cc',
    500: '#803eb5',
    950: '#000000',
  },
}
SCSS
$custom: #803eb5;
$custom-light: #a978cc;
$custom-dark: #000000;
JSON
{
  "hex": "#803eb5",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 273.277,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50624,
    "c": 0.18292,
    "h": 306.4
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#803EB5
secondary
#A4C589
accent
#D94F8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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