#784EE9#784EE9

#784EE9 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.221 H 289.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#784EE9
RGBrgb(120, 78, 233)
HSLhsl(256, 78%, 61%)
HSVhsv(256, 67%, 91%)
CMYKcmyk(48.5%, 66.5%, 0%, 8.6%)
CIE-LABlab(46.07, 53.54, -72.47)
CIE-LCHlch(46.07, 90.10, 306.46°)
OKLaboklab(55.84% 0.0746 -0.2078)
OKLCHoklch(55.84% 0.221 289.8)
XYZxyz(25.1739, 15.3240, 78.7064)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EE9 #BFE94E
analogous
#4E71E9 #784EE9 #C54EE9
triadic
#784EE9 #E9784E #4EE978
tetradic
#784EE9 #E94E71 #BFE94E #4EE9C5
square
#784EE9 #E94E71 #BFE94E #4EE9C5
split-complementary
#784EE9 #E9C54E #71E94E
monochromatic
#3D15A8 #501CDE #784EE9 #A284F0 #CBBBF7

Accessibility & contrast

On white

5.17
#784EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#784EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EE9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EE9#FFFFFF#000000##FFFFFF
##784EE91.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#527595
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #784ee9;
/* rgb */ color: rgb(120, 78, 233);
/* oklch */ color: oklch(55.8% 0.221 289.8);
Tailwind
colors: {
  custom: {
    50: '#a882f1',
    500: '#784ee9',
    950: '#000000',
  },
}
SCSS
$custom: #784ee9;
$custom-light: #a882f1;
$custom-dark: #000000;
JSON
{
  "hex": "#784ee9",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 256.258,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.22076,
    "h": 289.8
  },
  "luminance": 0.15325
}

Semantic roles & 50–950 ramp

primary
#784EE9
secondary
#D7E7AC
accent
#DA0BA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #784EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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