#784EEB#784EEB

#784EEB is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.223 H 289.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#784EEB
RGBrgb(120, 78, 235)
HSLhsl(256, 80%, 61%)
HSVhsv(256, 67%, 92%)
CMYKcmyk(48.9%, 66.8%, 0%, 7.8%)
CIE-LABlab(46.23, 54.09, -73.34)
CIE-LCHlch(46.23, 91.13, 306.41°)
OKLaboklab(56% 0.0744 -0.2103)
OKLCHoklch(56% 0.223 289.5)
XYZxyz(25.4612, 15.4389, 80.2196)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EEB #C1EB4E
analogous
#4E73EB #784EEB #C74EEB
triadic
#784EEB #EB784E #4EEB78
tetradic
#784EEB #EB4E73 #C1EB4E #4EEBC7
square
#784EEB #EB4E73 #C1EB4E #4EEBC7
split-complementary
#784EEB #EBC74E #73EB4E
monochromatic
#3C13AB #4F1AE2 #784EEB #A285F1 #CCBCF7

Accessibility & contrast

On white

5.14
#784EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#784EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EEB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EEB#FFFFFF#000000##FFFFFF
##784EEB1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#517596
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #784eeb;
/* rgb */ color: rgb(120, 78, 235);
/* oklch */ color: oklch(56.0% 0.223 289.5);
Tailwind
colors: {
  custom: {
    50: '#a882f3',
    500: '#784eeb',
    950: '#000000',
  },
}
SCSS
$custom: #784eeb;
$custom-light: #a882f3;
$custom-dark: #000000;
JSON
{
  "hex": "#784eeb",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 256.051,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55996,
    "c": 0.22309,
    "h": 289.5
  },
  "luminance": 0.1544
}

Semantic roles & 50–950 ramp

primary
#784EEB
secondary
#D8E8AD
accent
#DC09A4
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #784EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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