#783AA5#783AA5

#783AA5 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.169 H 307.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#783AA5
RGBrgb(120, 58, 165)
HSLhsl(275, 48%, 44%)
HSVhsv(275, 65%, 65%)
CMYKcmyk(27.3%, 64.8%, 0%, 35.3%)
CIE-LABlab(37.36, 46.34, -47.08)
CIE-LCHlch(37.36, 66.06, 314.54°)
OKLaboklab(48.02% 0.1037 -0.1331)
OKLCHoklch(48.02% 0.169 307.9)
XYZxyz(16.0489, 9.7360, 36.6238)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783AA5 #67A53A
analogous
#423AA5 #783AA5 #A53A9C
triadic
#783AA5 #A5783A #3AA578
tetradic
#783AA5 #A5423A #67A53A #3A9CA5
square
#783AA5 #A5423A #67A53A #3A9CA5
split-complementary
#783AA5 #9CA53A #3AA542
monochromatic
#361A4A #572A78 #783AA5 #9758C4 #B385D4

Accessibility & contrast

On white

7.13
#783AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#783AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783AA5
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783AA5#FFFFFF#000000##FFFFFF
##783AA51.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#2659A3
Tritanopia (blue-blind)
#71506A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #783aa5;
/* rgb */ color: rgb(120, 58, 165);
/* oklch */ color: oklch(48.0% 0.169 307.9);
Tailwind
colors: {
  custom: {
    50: '#a374c0',
    500: '#783aa5',
    950: '#000000',
  },
}
SCSS
$custom: #783aa5;
$custom-light: #a374c0;
$custom-dark: #000000;
JSON
{
  "hex": "#783aa5",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 274.766,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48015,
    "c": 0.16871,
    "h": 307.9
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#783AA5
secondary
#98BE7D
accent
#D85089
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #783AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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