#784EE5#784EE5

#784EE5 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.216 H 290.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#784EE5
RGBrgb(120, 78, 229)
HSLhsl(257, 74%, 60%)
HSVhsv(257, 66%, 90%)
CMYKcmyk(47.6%, 65.9%, 0%, 10.2%)
CIE-LABlab(45.77, 52.44, -70.70)
CIE-LCHlch(45.77, 88.03, 306.56°)
OKLaboklab(55.52% 0.0752 -0.2026)
OKLCHoklch(55.52% 0.216 290.4)
XYZxyz(24.6090, 15.0980, 75.7311)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EE5 #BBE54E
analogous
#4E6FE5 #784EE5 #C44EE5
triadic
#784EE5 #E5784E #4EE578
tetradic
#784EE5 #E54E6F #BBE54E #4EE5C4
square
#784EE5 #E54E6F #BBE54E #4EE5C4
split-complementary
#784EE5 #E5C44E #6FE54E
monochromatic
#3E18A1 #521FD6 #784EE5 #A183ED #C9B9F5

Accessibility & contrast

On white

5.22
#784EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#784EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EE5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EE5#FFFFFF#000000##FFFFFF
##784EE51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#557393
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784ee5;
/* rgb */ color: rgb(120, 78, 229);
/* oklch */ color: oklch(55.5% 0.216 290.4);
Tailwind
colors: {
  custom: {
    50: '#a782ee',
    500: '#784ee5',
    950: '#000000',
  },
}
SCSS
$custom: #784ee5;
$custom-light: #a782ee;
$custom-dark: #000000;
JSON
{
  "hex": "#784ee5",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 256.689,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.21608,
    "h": 290.4
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

primary
#784EE5
secondary
#D4E4AA
accent
#D70F9F
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #784EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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