#784ED2#784ED2

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

Color values

HEX#784ED2
RGBrgb(120, 78, 210)
HSLhsl(259, 59%, 56%)
HSVhsv(259, 63%, 82%)
CMYKcmyk(42.9%, 62.9%, 0%, 17.6%)
CIE-LABlab(44.37, 47.25, -62.15)
CIE-LCHlch(44.37, 78.07, 307.25°)
OKLaboklab(54.07% 0.0773 -0.1774)
OKLCHoklch(54.07% 0.194 293.5)
XYZxyz(22.0998, 14.0944, 62.5164)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ED2 #A8D24E
analogous
#4E66D2 #784ED2 #BA4ED2
triadic
#784ED2 #D2784E #4ED278
tetradic
#784ED2 #D24E66 #A8D24E #4ED2BA
square
#784ED2 #D24E66 #A8D24E #4ED2BA
split-complementary
#784ED2 #D2BA4E #66D24E
monochromatic
#412284 #592EB5 #784ED2 #9D7FDE #C2B0EB

Accessibility & contrast

On white

5.50
#784ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#784ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ED2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ED2#FFFFFF#000000##FFFFFF
##784ED21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#5F6C89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784ed2;
/* rgb */ color: rgb(120, 78, 210);
/* oklch */ color: oklch(54.1% 0.194 293.5);
Tailwind
colors: {
  custom: {
    50: '#a582e1',
    500: '#784ed2',
    950: '#000000',
  },
}
SCSS
$custom: #784ed2;
$custom-light: #a582e1;
$custom-dark: #000000;
JSON
{
  "hex": "#784ed2",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 259.091,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.19351,
    "h": 293.5
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

primary
#784ED2
secondary
#C8D9A3
accent
#E345B1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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