#803DA4#803DA4

#803DA4 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.166 H 311.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#803DA4
RGBrgb(128, 61, 164)
HSLhsl(279, 46%, 44%)
HSVhsv(279, 63%, 64%)
CMYKcmyk(22%, 62.8%, 0%, 35.7%)
CIE-LABlab(38.91, 46.51, -43.94)
CIE-LCHlch(38.91, 63.99, 316.63°)
OKLaboklab(49.34% 0.1107 -0.1236)
OKLCHoklch(49.34% 0.166 311.8)
XYZxyz(17.2705, 10.6074, 36.2524)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DA4 #61A43D
analogous
#4D3DA4 #803DA4 #A43D95
triadic
#803DA4 #A4803D #3DA480
tetradic
#803DA4 #A44D3D #61A43D #3D95A4
square
#803DA4 #A44D3D #61A43D #3D95A4
split-complementary
#803DA4 #95A43D #3DA44D
monochromatic
#3A1C4B #5D2C77 #803DA4 #9F5CC2 #B988D3

Accessibility & contrast

On white

6.73
#803DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#803DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DA4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DA4#FFFFFF#000000##FFFFFF
##803DA41.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A7
Deuteranopia (green-blind)
#345DA2
Tritanopia (blue-blind)
#7C516B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803da4;
/* rgb */ color: rgb(128, 61, 164);
/* oklch */ color: oklch(49.3% 0.166 311.8);
Tailwind
colors: {
  custom: {
    50: '#a876bf',
    500: '#803da4',
    950: '#000000',
  },
}
SCSS
$custom: #803da4;
$custom-light: #a876bf;
$custom-dark: #000000;
JSON
{
  "hex": "#803da4",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 279.029,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.16593,
    "h": 311.8
  },
  "luminance": 0.10607
}

Semantic roles & 50–950 ramp

primary
#803DA4
secondary
#95BD7F
accent
#D55280
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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