#784ED1#784ED1

#784ED1 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.192 H 293.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#784ED1
RGBrgb(120, 78, 209)
HSLhsl(259, 59%, 56%)
HSVhsv(259, 63%, 82%)
CMYKcmyk(42.6%, 62.7%, 0%, 18%)
CIE-LABlab(44.30, 46.98, -61.69)
CIE-LCHlch(44.30, 77.54, 307.29°)
OKLaboklab(54% 0.0773 -0.1761)
OKLCHoklch(54% 0.192 293.7)
XYZxyz(21.9756, 14.0447, 61.8623)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ED1 #A7D14E
analogous
#4E66D1 #784ED1 #BA4ED1
triadic
#784ED1 #D1784E #4ED178
tetradic
#784ED1 #D14E66 #A7D14E #4ED1BA
square
#784ED1 #D14E66 #A7D14E #4ED1BA
split-complementary
#784ED1 #D1BA4E #66D14E
monochromatic
#412283 #592FB3 #784ED1 #9D7FDE #C2AFEA

Accessibility & contrast

On white

5.51
#784ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#784ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ED1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ED1#FFFFFF#000000##FFFFFF
##784ED11.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#606C88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784ed1;
/* rgb */ color: rgb(120, 78, 209);
/* oklch */ color: oklch(54.0% 0.192 293.7);
Tailwind
colors: {
  custom: {
    50: '#a582e0',
    500: '#784ed1',
    950: '#000000',
  },
}
SCSS
$custom: #784ed1;
$custom-light: #a582e0;
$custom-dark: #000000;
JSON
{
  "hex": "#784ed1",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 209
  },
  "hsl": {
    "h": 259.237,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53996,
    "c": 0.1923,
    "h": 293.7
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#784ED1
secondary
#C7D8A2
accent
#E246B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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