#784ED7#784ED7

#784ED7 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.200 H 292.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#784ED7
RGBrgb(120, 78, 215)
HSLhsl(258, 63%, 57%)
HSVhsv(258, 64%, 84%)
CMYKcmyk(44.2%, 63.7%, 0%, 15.7%)
CIE-LABlab(44.73, 48.61, -64.43)
CIE-LCHlch(44.73, 80.71, 307.03°)
OKLaboklab(54.44% 0.0768 -0.1841)
OKLCHoklch(54.44% 0.2 292.6)
XYZxyz(22.7325, 14.3475, 65.8484)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ED7 #ADD74E
analogous
#4E69D7 #784ED7 #BC4ED7
triadic
#784ED7 #D7784E #4ED778
tetradic
#784ED7 #D74E69 #ADD74E #4ED7BC
square
#784ED7 #D74E69 #ADD74E #4ED7BC
split-complementary
#784ED7 #D7BC4E #69D74E
monochromatic
#401F8B #582BBD #784ED7 #9E80E2 #C4B2EE

Accessibility & contrast

On white

5.43
#784ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#784ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ED7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ED7#FFFFFF#000000##FFFFFF
##784ED71.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#5D6E8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784ed7;
/* rgb */ color: rgb(120, 78, 215);
/* oklch */ color: oklch(54.4% 0.200 292.6);
Tailwind
colors: {
  custom: {
    50: '#a682e4',
    500: '#784ed7',
    950: '#000000',
  },
}
SCSS
$custom: #784ed7;
$custom-light: #a682e4;
$custom-dark: #000000;
JSON
{
  "hex": "#784ed7",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 258.394,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.19951,
    "h": 292.6
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#784ED7
secondary
#CBDCA5
accent
#E642B4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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