#784EF4#784EF4

#784EF4 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.233 H 288.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#784EF4
RGBrgb(120, 78, 244)
HSLhsl(255, 88%, 63%)
HSVhsv(255, 68%, 96%)
CMYKcmyk(50.8%, 68%, 0%, 4.3%)
CIE-LABlab(46.94, 56.56, -77.25)
CIE-LCHlch(46.94, 95.74, 306.21°)
OKLaboklab(56.72% 0.073 -0.2218)
OKLCHoklch(56.72% 0.233 288.2)
XYZxyz(26.7945, 15.9722, 87.2415)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EF4 #CAF44E
analogous
#4E77F4 #784EF4 #CB4EF4
triadic
#784EF4 #F4784E #4EF478
tetradic
#784EF4 #F44E77 #CAF44E #4EF4CB
square
#784EF4 #F44E77 #CAF44E #4EF4CB
split-complementary
#784EF4 #F4CB4E #77F44E
monochromatic
#380CBC #4C14F0 #784EF4 #A488F8 #D0C1FB

Accessibility & contrast

On white

5.01
#784EF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#784EF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EF4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EF4#FFFFFF#000000##FFFFFF
##784EF41.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#006BF1
Tritanopia (blue-blind)
#4A799B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #784ef4;
/* rgb */ color: rgb(120, 78, 244);
/* oklch */ color: oklch(56.7% 0.233 288.2);
Tailwind
colors: {
  custom: {
    50: '#a983f9',
    500: '#784ef4',
    950: '#000000',
  },
}
SCSS
$custom: #784ef4;
$custom-light: #a983f9;
$custom-dark: #000000;
JSON
{
  "hex": "#784ef4",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 244
  },
  "hsl": {
    "h": 255.181,
    "s": 88.298,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.23348,
    "h": 288.2
  },
  "luminance": 0.15974
}

Semantic roles & 50–950 ramp

primary
#784EF4
secondary
#DEEDB1
accent
#E501AB
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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