#803BA5#803BA5

#803BA5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.170 H 311.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#803BA5
RGBrgb(128, 59, 165)
HSLhsl(279, 47%, 44%)
HSVhsv(279, 64%, 65%)
CMYKcmyk(22.4%, 64.2%, 0%, 35.3%)
CIE-LABlab(38.61, 47.73, -45.02)
CIE-LCHlch(38.61, 65.62, 316.67°)
OKLaboklab(49.14% 0.1131 -0.1268)
OKLCHoklch(49.14% 0.17 311.7)
XYZxyz(17.2563, 10.4342, 36.6950)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BA5 #60A53B
analogous
#4B3BA5 #803BA5 #A53B95
triadic
#803BA5 #A5803B #3BA580
tetradic
#803BA5 #A54B3B #60A53B #3B95A5
square
#803BA5 #A54B3B #60A53B #3B95A5
split-complementary
#803BA5 #95A53B #3BA54B
monochromatic
#3A1B4B #5D2B78 #803BA5 #9F59C4 #B986D4

Accessibility & contrast

On white

6.80
#803BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#803BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BA5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BA5#FFFFFF#000000##FFFFFF
##803BA51.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0657A8
Deuteranopia (green-blind)
#315CA3
Tritanopia (blue-blind)
#7C506B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #803ba5;
/* rgb */ color: rgb(128, 59, 165);
/* oklch */ color: oklch(49.1% 0.170 311.7);
Tailwind
colors: {
  custom: {
    50: '#a875c0',
    500: '#803ba5',
    950: '#000000',
  },
}
SCSS
$custom: #803ba5;
$custom-light: #a875c0;
$custom-dark: #000000;
JSON
{
  "hex": "#803ba5",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 279.057,
    "s": 47.321,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.16992,
    "h": 311.7
  },
  "luminance": 0.10434
}

Semantic roles & 50–950 ramp

primary
#803BA5
secondary
#94BE7E
accent
#D75180
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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