#784EE2#784EE2

#784EE2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.213 H 290.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#784EE2
RGBrgb(120, 78, 226)
HSLhsl(257, 72%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(46.9%, 65.5%, 0%, 11.4%)
CIE-LABlab(45.54, 51.62, -69.37)
CIE-LCHlch(45.54, 86.47, 306.65°)
OKLaboklab(55.29% 0.0756 -0.1987)
OKLCHoklch(55.29% 0.213 290.8)
XYZxyz(24.1937, 14.9319, 73.5442)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EE2 #B8E24E
analogous
#4E6EE2 #784EE2 #C24EE2
triadic
#784EE2 #E2784E #4EE278
tetradic
#784EE2 #E24E6E #B8E24E #4EE2C2
square
#784EE2 #E24E6E #B8E24E #4EE2C2
split-complementary
#784EE2 #E2C24E #6EE24E
monochromatic
#3F1A9C #5422D1 #784EE2 #A083EB #C8B7F3

Accessibility & contrast

On white

5.27
#784EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#784EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EE2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EE2#FFFFFF#000000##FFFFFF
##784EE21.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#567291
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784ee2;
/* rgb */ color: rgb(120, 78, 226);
/* oklch */ color: oklch(55.3% 0.213 290.8);
Tailwind
colors: {
  custom: {
    50: '#a782ec',
    500: '#784ee2',
    950: '#000000',
  },
}
SCSS
$custom: #784ee2;
$custom-light: #a782ec;
$custom-dark: #000000;
JSON
{
  "hex": "#784ee2",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 257.027,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55286,
    "c": 0.21256,
    "h": 290.8
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#784EE2
secondary
#D2E3A9
accent
#EF39BB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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