#784ED3#784ED3

#784ED3 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.195 H 293.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#784ED3
RGBrgb(120, 78, 211)
HSLhsl(259, 60%, 57%)
HSVhsv(259, 63%, 83%)
CMYKcmyk(43.1%, 63%, 0%, 17.3%)
CIE-LABlab(44.44, 47.52, -62.60)
CIE-LCHlch(44.44, 78.60, 307.20°)
OKLaboklab(54.14% 0.0772 -0.1788)
OKLCHoklch(54.14% 0.195 293.3)
XYZxyz(22.2248, 14.1444, 63.1745)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ED3 #A9D34E
analogous
#4E67D3 #784ED3 #BA4ED3
triadic
#784ED3 #D3784E #4ED378
tetradic
#784ED3 #D34E67 #A9D34E #4ED3BA
square
#784ED3 #D34E67 #A9D34E #4ED3BA
split-complementary
#784ED3 #D3BA4E #67D34E
monochromatic
#412185 #592DB6 #784ED3 #9D7FDF #C3B0EB

Accessibility & contrast

On white

5.48
#784ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#784ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ED3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ED3#FFFFFF#000000##FFFFFF
##784ED31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#5F6D89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784ed3;
/* rgb */ color: rgb(120, 78, 211);
/* oklch */ color: oklch(54.1% 0.195 293.3);
Tailwind
colors: {
  custom: {
    50: '#a582e1',
    500: '#784ed3',
    950: '#000000',
  },
}
SCSS
$custom: #784ed3;
$custom-light: #a582e1;
$custom-dark: #000000;
JSON
{
  "hex": "#784ed3",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 258.947,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.19471,
    "h": 293.3
  },
  "luminance": 0.14145
}

Semantic roles & 50–950 ramp

primary
#784ED3
secondary
#C8DAA3
accent
#E344B1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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