#784AD6#784AD6

#784AD6 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.203 H 293.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#784AD6
RGBrgb(120, 74, 214)
HSLhsl(260, 63%, 56%)
HSVhsv(260, 65%, 84%)
CMYKcmyk(43.9%, 65.4%, 0%, 16.1%)
CIE-LABlab(43.87, 50.48, -65.26)
CIE-LCHlch(43.87, 82.50, 307.72°)
OKLaboklab(53.8% 0.0811 -0.1866)
OKLCHoklch(53.8% 0.203 293.5)
XYZxyz(22.3288, 13.7450, 65.0819)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AD6 #A8D64A
analogous
#4A62D6 #784AD6 #BE4AD6
triadic
#784AD6 #D6784A #4AD678
tetradic
#784AD6 #D64A62 #A8D64A #4AD6BE
square
#784AD6 #D64A62 #A8D64A #4AD6BE
split-complementary
#784AD6 #D6BE4A #62D64A
monochromatic
#411F87 #592AB9 #784AD6 #9D7CE1 #C2AEED

Accessibility & contrast

On white

5.60
#784AD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#784AD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AD6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AD6#FFFFFF#000000##FFFFFF
##784AD61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#5D6B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784ad6;
/* rgb */ color: rgb(120, 74, 214);
/* oklch */ color: oklch(53.8% 0.203 293.5);
Tailwind
colors: {
  custom: {
    50: '#a67fe4',
    500: '#784ad6',
    950: '#000000',
  },
}
SCSS
$custom: #784ad6;
$custom-light: #a67fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#784ad6",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 214
  },
  "hsl": {
    "h": 259.714,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53798,
    "c": 0.20341,
    "h": 293.5
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#784AD6
secondary
#C8DBA1
accent
#E642B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784AD6

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

Preview Lab → · Contrast checker → · Palette generator →

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