#784FE4#784FE4

#784FE4 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.214 H 290.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#784FE4
RGBrgb(120, 79, 228)
HSLhsl(257, 73%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(47.4%, 65.4%, 0%, 10.6%)
CIE-LABlab(45.89, 51.63, -69.94)
CIE-LCHlch(45.89, 86.94, 306.43°)
OKLaboklab(55.58% 0.0744 -0.2003)
OKLCHoklch(55.58% 0.214 290.4)
XYZxyz(24.5413, 15.1855, 75.0218)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FE4 #BBE44F
analogous
#4F70E4 #784FE4 #C24FE4
triadic
#784FE4 #E4784F #4FE478
tetradic
#784FE4 #E44F70 #BBE44F #4FE4C2
square
#784FE4 #E44F70 #BBE44F #4FE4C2
split-complementary
#784FE4 #E4C24F #70E44F
monochromatic
#3E19A0 #5221D5 #784FE4 #A184EC #C9B9F4

Accessibility & contrast

On white

5.20
#784FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#784FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FE4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FE4#FFFFFF#000000##FFFFFF
##784FE41.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#557393
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #784fe4;
/* rgb */ color: rgb(120, 79, 228);
/* oklch */ color: oklch(55.6% 0.214 290.4);
Tailwind
colors: {
  custom: {
    50: '#a783ee',
    500: '#784fe4',
    950: '#000000',
  },
}
SCSS
$custom: #784fe4;
$custom-light: #a783ee;
$custom-dark: #000000;
JSON
{
  "hex": "#784fe4",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 256.51,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55583,
    "c": 0.2137,
    "h": 290.4
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#784FE4
secondary
#D4E4AB
accent
#D6109F
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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