#784EE6#784EE6

#784EE6 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.217 H 290.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#784EE6
RGBrgb(120, 78, 230)
HSLhsl(257, 75%, 60%)
HSVhsv(257, 66%, 90%)
CMYKcmyk(47.8%, 66.1%, 0%, 9.8%)
CIE-LABlab(45.84, 52.71, -71.15)
CIE-LCHlch(45.84, 88.55, 306.53°)
OKLaboklab(55.6% 0.0751 -0.2039)
OKLCHoklch(55.6% 0.217 290.2)
XYZxyz(24.7490, 15.1540, 76.4686)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EE6 #BCE64E
analogous
#4E70E6 #784EE6 #C44EE6
triadic
#784EE6 #E6784E #4EE678
tetradic
#784EE6 #E64E70 #BCE64E #4EE6C4
square
#784EE6 #E64E70 #BCE64E #4EE6C4
split-complementary
#784EE6 #E6C44E #70E64E
monochromatic
#3E17A3 #521FD8 #784EE6 #A184EE #CAB9F5

Accessibility & contrast

On white

5.21
#784EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#784EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EE6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EE6#FFFFFF#000000##FFFFFF
##784EE61.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#547394
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #784ee6;
/* rgb */ color: rgb(120, 78, 230);
/* oklch */ color: oklch(55.6% 0.217 290.2);
Tailwind
colors: {
  custom: {
    50: '#a882ef',
    500: '#784ee6',
    950: '#000000',
  },
}
SCSS
$custom: #784ee6;
$custom-light: #a882ef;
$custom-dark: #000000;
JSON
{
  "hex": "#784ee6",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 256.579,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.21726,
    "h": 290.2
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

primary
#784EE6
secondary
#D5E5AB
accent
#D70EA0
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #784EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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