#784EE1#784EE1

#784EE1 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.211 H 291.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#784EE1
RGBrgb(120, 78, 225)
HSLhsl(257, 71%, 59%)
HSVhsv(257, 65%, 88%)
CMYKcmyk(46.7%, 65.3%, 0%, 11.8%)
CIE-LABlab(45.47, 51.34, -68.93)
CIE-LCHlch(45.47, 85.95, 306.68°)
OKLaboklab(55.21% 0.0757 -0.1974)
OKLCHoklch(55.21% 0.211 291)
XYZxyz(24.0569, 14.8772, 72.8236)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EE1 #B7E14E
analogous
#4E6EE1 #784EE1 #C24EE1
triadic
#784EE1 #E1784E #4EE178
tetradic
#784EE1 #E14E6E #B7E14E #4EE1C2
square
#784EE1 #E14E6E #B7E14E #4EE1C2
split-complementary
#784EE1 #E1C24E #6EE14E
monochromatic
#3F1A9A #5423CF #784EE1 #A082EA #C8B7F3

Accessibility & contrast

On white

5.28
#784EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#784EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EE1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EE1#FFFFFF#000000##FFFFFF
##784EE11.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#577291
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #784ee1;
/* rgb */ color: rgb(120, 78, 225);
/* oklch */ color: oklch(55.2% 0.211 291.0);
Tailwind
colors: {
  custom: {
    50: '#a782eb',
    500: '#784ee1',
    950: '#000000',
  },
}
SCSS
$custom: #784ee1;
$custom-light: #a782eb;
$custom-dark: #000000;
JSON
{
  "hex": "#784ee1",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 257.143,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.21138,
    "h": 291
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#784EE1
secondary
#D2E2A9
accent
#EE3ABA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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