#784AE5#784AE5

#784AE5 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.221 H 291.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#784AE5
RGBrgb(120, 74, 229)
HSLhsl(258, 75%, 59%)
HSVhsv(258, 68%, 90%)
CMYKcmyk(47.6%, 67.7%, 0%, 10.2%)
CIE-LABlab(45.01, 54.52, -71.95)
CIE-LCHlch(45.01, 90.27, 307.16°)
OKLaboklab(54.97% 0.079 -0.2062)
OKLCHoklch(54.97% 0.221 291)
XYZxyz(24.3334, 14.5469, 75.6393)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AE5 #B7E54A
analogous
#4A6AE5 #784AE5 #C54AE5
triadic
#784AE5 #E5784A #4AE578
tetradic
#784AE5 #E54A6A #B7E54A #4AE5C5
square
#784AE5 #E54A6A #B7E54A #4AE5C5
split-complementary
#784AE5 #E5C54A #6AE54A
monochromatic
#3F179E #541ED3 #784AE5 #A080ED #C8B5F4

Accessibility & contrast

On white

5.37
#784AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#784AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AE5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AE5#FFFFFF#000000##FFFFFF
##784AE51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#557192
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784ae5;
/* rgb */ color: rgb(120, 74, 229);
/* oklch */ color: oklch(55.0% 0.221 291.0);
Tailwind
colors: {
  custom: {
    50: '#a880ee',
    500: '#784ae5',
    950: '#000000',
  },
}
SCSS
$custom: #784ae5;
$custom-light: #a880ee;
$custom-dark: #000000;
JSON
{
  "hex": "#784ae5",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 257.806,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.22083,
    "h": 291
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#784AE5
secondary
#D2E4A7
accent
#F136BA
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #784AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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