#784EF5#784EF5

#784EF5 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.235 H 288.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#784EF5
RGBrgb(120, 78, 245)
HSLhsl(255, 89%, 63%)
HSVhsv(255, 68%, 96%)
CMYKcmyk(51%, 68.2%, 0%, 3.9%)
CIE-LABlab(47.02, 56.84, -77.68)
CIE-LCHlch(47.02, 96.25, 306.19°)
OKLaboklab(56.81% 0.0728 -0.2231)
OKLCHoklch(56.81% 0.235 288.1)
XYZxyz(26.9467, 16.0331, 88.0433)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EF5 #CBF54E
analogous
#4E77F5 #784EF5 #CC4EF5
triadic
#784EF5 #F5784E #4EF578
tetradic
#784EF5 #F54E77 #CBF54E #4EF5CC
square
#784EF5 #F54E77 #CBF54E #4EF5CC
split-complementary
#784EF5 #F5CC4E #77F54E
monochromatic
#380BBE #4C14F2 #784EF5 #A488F8 #D0C2FC

Accessibility & contrast

On white

4.99
#784EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#784EF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EF5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EF5#FFFFFF#000000##FFFFFF
##784EF51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#49799C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #784ef5;
/* rgb */ color: rgb(120, 78, 245);
/* oklch */ color: oklch(56.8% 0.235 288.1);
Tailwind
colors: {
  custom: {
    50: '#a983fa',
    500: '#784ef5',
    950: '#000000',
  },
}
SCSS
$custom: #784ef5;
$custom-light: #a983fa;
$custom-dark: #000000;
JSON
{
  "hex": "#784ef5",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 255.09,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.23464,
    "h": 288.1
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

primary
#784EF5
secondary
#DEEDB2
accent
#E600AC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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