#784AA5#784AA5

#784AA5 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.144 H 305.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#784AA5
RGBrgb(120, 74, 165)
HSLhsl(270, 38%, 47%)
HSVhsv(270, 55%, 65%)
CMYKcmyk(27.3%, 55.2%, 0%, 35.3%)
CIE-LABlab(40.59, 37.73, -41.92)
CIE-LCHlch(40.59, 56.40, 311.98°)
OKLaboklab(50.37% 0.0831 -0.118)
OKLCHoklch(50.37% 0.144 305.1)
XYZxyz(16.9846, 11.6073, 36.9357)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AA5 #77A54A
analogous
#4B4AA5 #784AA5 #A54AA5
triadic
#784AA5 #A5784A #4AA578
tetradic
#784AA5 #A54B4A #77A54A #4AA5A5
square
#784AA5 #A54B4A #77A54A #4AA5A5
split-complementary
#784AA5 #A5A54A #4AA54B
monochromatic
#3B2450 #59377B #784AA5 #976EBE #B598D1

Accessibility & contrast

On white

6.32
#784AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#784AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AA5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AA5#FFFFFF#000000##FFFFFF
##784AA51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#3A60A3
Tritanopia (blue-blind)
#705B70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784aa5;
/* rgb */ color: rgb(120, 74, 165);
/* oklch */ color: oklch(50.4% 0.144 305.1);
Tailwind
colors: {
  custom: {
    50: '#a27ec0',
    500: '#784aa5',
    950: '#000000',
  },
}
SCSS
$custom: #784aa5;
$custom-light: #a27ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#784aa5",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 270.33,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50365,
    "c": 0.14432,
    "h": 305.1
  },
  "luminance": 0.11607
}

Semantic roles & 50–950 ramp

primary
#784AA5
secondary
#A5BD8E
accent
#CE5A93
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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