#784FF0#784FF0

#784FF0 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.228 H 288.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#784FF0
RGBrgb(120, 79, 240)
HSLhsl(255, 84%, 63%)
HSVhsv(255, 67%, 94%)
CMYKcmyk(50%, 67.1%, 0%, 5.9%)
CIE-LABlab(46.81, 54.94, -75.21)
CIE-LCHlch(46.81, 93.14, 306.15°)
OKLaboklab(56.53% 0.0727 -0.2158)
OKLCHoklch(56.53% 0.228 288.6)
XYZxyz(26.2653, 15.8751, 84.1014)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FF0 #C7F04F
analogous
#4F76F0 #784FF0 #C94FF0
triadic
#784FF0 #F0784F #4FF078
tetradic
#784FF0 #F04F76 #C7F04F #4FF0C9
square
#784FF0 #F04F76 #C7F04F #4FF0C9
split-complementary
#784FF0 #F0C94F #76F04F
monochromatic
#3A0FB5 #4D17EB #784FF0 #A387F5 #CFC0FA

Accessibility & contrast

On white

5.03
#784FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#784FF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FF0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FF0#FFFFFF#000000##FFFFFF
##784FF01.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#4D7899
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #784ff0;
/* rgb */ color: rgb(120, 79, 240);
/* oklch */ color: oklch(56.5% 0.228 288.6);
Tailwind
colors: {
  custom: {
    50: '#a983f6',
    500: '#784ff0',
    950: '#000000',
  },
}
SCSS
$custom: #784ff0;
$custom-light: #a983f6;
$custom-dark: #000000;
JSON
{
  "hex": "#784ff0",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 240
  },
  "hsl": {
    "h": 255.28,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.22774,
    "h": 288.6
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#784FF0
secondary
#DCEBB0
accent
#E105A9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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