#784EF7#784EF7

#784EF7 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.237 H 287.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#784EF7
RGBrgb(120, 78, 247)
HSLhsl(255, 91%, 64%)
HSVhsv(255, 68%, 97%)
CMYKcmyk(51.4%, 68.4%, 0%, 3.1%)
CIE-LABlab(47.18, 57.39, -78.53)
CIE-LCHlch(47.18, 97.27, 306.16°)
OKLaboklab(56.97% 0.0725 -0.2256)
OKLCHoklch(56.97% 0.237 287.8)
XYZxyz(27.2537, 16.1559, 89.6600)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EF7 #CDF74E
analogous
#4E78F7 #784EF7 #CC4EF7
triadic
#784EF7 #F7784E #4EF778
tetradic
#784EF7 #F74E78 #CDF74E #4EF7CC
square
#784EF7 #F74E78 #CDF74E #4EF7CC
split-complementary
#784EF7 #F7CC4E #78F74E
monochromatic
#3709C2 #4B13F4 #784EF7 #A589FA #D1C3FC

Accessibility & contrast

On white

4.96
#784EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#784EF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EF7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EF7#FFFFFF#000000##FFFFFF
##784EF71.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FC
Deuteranopia (green-blind)
#006BF4
Tritanopia (blue-blind)
#477A9D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #784ef7;
/* rgb */ color: rgb(120, 78, 247);
/* oklch */ color: oklch(57.0% 0.237 287.8);
Tailwind
colors: {
  custom: {
    50: '#aa83fb',
    500: '#784ef7',
    950: '#000000',
  },
}
SCSS
$custom: #784ef7;
$custom-light: #aa83fb;
$custom-dark: #000000;
JSON
{
  "hex": "#784ef7",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 254.911,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56969,
    "c": 0.23692,
    "h": 287.8
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#784EF7
secondary
#DFEEB3
accent
#E600AC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #784EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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