#784AA4#784AA4

#784AA4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.143 H 305.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#784AA4
RGBrgb(120, 74, 164)
HSLhsl(271, 38%, 47%)
HSVhsv(271, 55%, 64%)
CMYKcmyk(26.8%, 54.9%, 0%, 35.7%)
CIE-LABlab(40.53, 37.48, -41.42)
CIE-LCHlch(40.53, 55.86, 312.14°)
OKLaboklab(50.3% 0.083 -0.1166)
OKLCHoklch(50.3% 0.143 305.5)
XYZxyz(16.8939, 11.5711, 36.4582)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AA4 #76A44A
analogous
#4B4AA4 #784AA4 #A44AA3
triadic
#784AA4 #A4784A #4AA478
tetradic
#784AA4 #A44B4A #76A44A #4AA3A4
square
#784AA4 #A44B4A #76A44A #4AA3A4
split-complementary
#784AA4 #A3A44A #4AA44B
monochromatic
#3A2450 #59377A #784AA4 #966EBD #B598D0

Accessibility & contrast

On white

6.34
#784AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#784AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AA4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AA4#FFFFFF#000000##FFFFFF
##784AA41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#3B60A2
Tritanopia (blue-blind)
#715B70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784aa4;
/* rgb */ color: rgb(120, 74, 164);
/* oklch */ color: oklch(50.3% 0.143 305.5);
Tailwind
colors: {
  custom: {
    50: '#a27ebf',
    500: '#784aa4',
    950: '#000000',
  },
}
SCSS
$custom: #784aa4;
$custom-light: #a27ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#784aa4",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 270.667,
    "s": 37.815,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.14309,
    "h": 305.5
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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