#784DF4#784DF4

#784DF4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.235 H 288.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#784DF4
RGBrgb(120, 77, 244)
HSLhsl(255, 88%, 63%)
HSVhsv(255, 68%, 96%)
CMYKcmyk(50.8%, 68.4%, 0%, 4.3%)
CIE-LABlab(46.75, 57.08, -77.55)
CIE-LCHlch(46.75, 96.29, 306.35°)
OKLaboklab(56.59% 0.0738 -0.2227)
OKLCHoklch(56.59% 0.235 288.3)
XYZxyz(26.7240, 15.8312, 87.2180)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DF4 #C9F44D
analogous
#4D75F4 #784DF4 #CB4DF4
triadic
#784DF4 #F4784D #4DF478
tetradic
#784DF4 #F44D75 #C9F44D #4DF4CB
square
#784DF4 #F44D75 #C9F44D #4DF4CB
split-complementary
#784DF4 #F4CB4D #75F44D
monochromatic
#390CBB #4C13F0 #784DF4 #A487F8 #CFC0FB

Accessibility & contrast

On white

5.04
#784DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#784DF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DF4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DF4#FFFFFF#000000##FFFFFF
##784DF41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F9
Deuteranopia (green-blind)
#006AF1
Tritanopia (blue-blind)
#4A789B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #784df4;
/* rgb */ color: rgb(120, 77, 244);
/* oklch */ color: oklch(56.6% 0.235 288.3);
Tailwind
colors: {
  custom: {
    50: '#a982f9',
    500: '#784df4',
    950: '#000000',
  },
}
SCSS
$custom: #784df4;
$custom-light: #a982f9;
$custom-dark: #000000;
JSON
{
  "hex": "#784df4",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 244
  },
  "hsl": {
    "h": 255.449,
    "s": 88.36,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.2346,
    "h": 288.3
  },
  "luminance": 0.15832
}

Semantic roles & 50–950 ramp

primary
#784DF4
secondary
#DDECB0
accent
#E501AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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