#784AB4#784AB4

#784AB4 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.163 H 300.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#784AB4
RGBrgb(120, 74, 180)
HSLhsl(266, 42%, 50%)
HSVhsv(266, 59%, 71%)
CMYKcmyk(33.3%, 58.9%, 0%, 29.4%)
CIE-LABlab(41.51, 41.52, -49.32)
CIE-LCHlch(41.51, 64.47, 310.09°)
OKLaboklab(51.34% 0.0834 -0.1397)
OKLCHoklch(51.34% 0.163 300.8)
XYZxyz(18.4308, 12.1858, 44.5523)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AB4 #86B44A
analogous
#4A51B4 #784AB4 #AD4AB4
triadic
#784AB4 #B4784A #4AB478
tetradic
#784AB4 #B44A51 #86B44A #4AB4AD
square
#784AB4 #B44A51 #86B44A #4AB4AD
split-complementary
#784AB4 #B4AD4A #51B44A
monochromatic
#3E265D #5B3889 #784AB4 #9875C6 #B9A0D8

Accessibility & contrast

On white

6.11
#784AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#784AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AB4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AB4#FFFFFF#000000##FFFFFF
##784AB41.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B7
Deuteranopia (green-blind)
#2B61B2
Tritanopia (blue-blind)
#6C6078
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #784ab4;
/* rgb */ color: rgb(120, 74, 180);
/* oklch */ color: oklch(51.3% 0.163 300.8);
Tailwind
colors: {
  custom: {
    50: '#a37ecb',
    500: '#784ab4',
    950: '#000000',
  },
}
SCSS
$custom: #784ab4;
$custom-light: #a37ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#784ab4",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 266.038,
    "s": 41.732,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51342,
    "c": 0.16271,
    "h": 300.8
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#784AB4
secondary
#B0C595
accent
#D2569C
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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