#783AA4#783AA4

#783AA4 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.168 H 308.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#783AA4
RGBrgb(120, 58, 164)
HSLhsl(275, 48%, 44%)
HSVhsv(275, 65%, 64%)
CMYKcmyk(26.8%, 64.6%, 0%, 35.7%)
CIE-LABlab(37.30, 46.10, -46.59)
CIE-LCHlch(37.30, 65.55, 314.70°)
OKLaboklab(47.95% 0.1037 -0.1316)
OKLCHoklch(47.95% 0.168 308.2)
XYZxyz(15.9583, 9.6998, 36.1463)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AA4 #66A43A
analogous
#433AA4 #783AA4 #A43A9B
triadic
#783AA4 #A4783A #3AA478
tetradic
#783AA4 #A4433A #66A43A #3A9BA4
square
#783AA4 #A4433A #66A43A #3A9BA4
split-complementary
#783AA4 #9BA43A #3AA443
monochromatic
#361A4A #572A77 #783AA4 #9757C4 #B385D4

Accessibility & contrast

On white

7.14
#783AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#783AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783AA4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AA4#FFFFFF#000000##FFFFFF
##783AA41.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#2858A2
Tritanopia (blue-blind)
#71506A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783aa4;
/* rgb */ color: rgb(120, 58, 164);
/* oklch */ color: oklch(47.9% 0.168 308.2);
Tailwind
colors: {
  custom: {
    50: '#a274c0',
    500: '#783aa4',
    950: '#000000',
  },
}
SCSS
$custom: #783aa4;
$custom-light: #a274c0;
$custom-dark: #000000;
JSON
{
  "hex": "#783aa4",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 275.094,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47946,
    "c": 0.1676,
    "h": 308.2
  },
  "luminance": 0.097
}

Semantic roles & 50–950 ramp

primary
#783AA4
secondary
#97BE7C
accent
#D75088
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783AA4

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

Preview Lab → · Contrast checker → · Palette generator →

#783AA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva