#784EF0#784EF0

#784EF0 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.229 H 288.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#784EF0
RGBrgb(120, 78, 240)
HSLhsl(256, 84%, 62%)
HSVhsv(256, 68%, 94%)
CMYKcmyk(50%, 67.5%, 0%, 5.9%)
CIE-LABlab(46.62, 55.46, -75.52)
CIE-LCHlch(46.62, 93.70, 306.29°)
OKLaboklab(56.4% 0.0736 -0.2167)
OKLCHoklch(56.4% 0.229 288.8)
XYZxyz(26.1937, 15.7319, 84.0776)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EF0 #C6F04E
analogous
#4E75F0 #784EF0 #C94EF0
triadic
#784EF0 #F0784E #4EF078
tetradic
#784EF0 #F04E75 #C6F04E #4EF0C9
square
#784EF0 #F04E75 #C6F04E #4EF0C9
split-complementary
#784EF0 #F0C94E #75F04E
monochromatic
#3A0FB4 #4D16EB #784EF0 #A386F5 #CEBFFA

Accessibility & contrast

On white

5.06
#784EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#784EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EF0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EF0#FFFFFF#000000##FFFFFF
##784EF01.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F5
Deuteranopia (green-blind)
#006AED
Tritanopia (blue-blind)
#4D7799
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #784ef0;
/* rgb */ color: rgb(120, 78, 240);
/* oklch */ color: oklch(56.4% 0.229 288.8);
Tailwind
colors: {
  custom: {
    50: '#a982f6',
    500: '#784ef0',
    950: '#000000',
  },
}
SCSS
$custom: #784ef0;
$custom-light: #a982f6;
$custom-dark: #000000;
JSON
{
  "hex": "#784ef0",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 240
  },
  "hsl": {
    "h": 255.556,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56398,
    "c": 0.22889,
    "h": 288.8
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#784EF0
secondary
#DBEAAF
accent
#E105A8
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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