#784AE1#784AE1

#784AE1 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.216 H 291.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#784AE1
RGBrgb(120, 74, 225)
HSLhsl(258, 72%, 59%)
HSVhsv(258, 67%, 88%)
CMYKcmyk(46.7%, 67.1%, 0%, 11.8%)
CIE-LABlab(44.70, 53.44, -70.18)
CIE-LCHlch(44.70, 88.21, 307.29°)
OKLaboklab(54.66% 0.0796 -0.201)
OKLCHoklch(54.66% 0.216 291.6)
XYZxyz(23.7813, 14.3260, 72.7317)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AE1 #B3E14A
analogous
#4A67E1 #784AE1 #C34AE1
triadic
#784AE1 #E1784A #4AE178
tetradic
#784AE1 #E14A67 #B3E14A #4AE1C3
square
#784AE1 #E14A67 #B3E14A #4AE1C3
split-complementary
#784AE1 #E1C34A #67E14A
monochromatic
#401997 #5622CC #784AE1 #9F7EEA #C6B3F2

Accessibility & contrast

On white

5.43
#784AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#784AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AE1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AE1#FFFFFF#000000##FFFFFF
##784AE11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#576F90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784ae1;
/* rgb */ color: rgb(120, 74, 225);
/* oklch */ color: oklch(54.7% 0.216 291.6);
Tailwind
colors: {
  custom: {
    50: '#a780eb',
    500: '#784ae1',
    950: '#000000',
  },
}
SCSS
$custom: #784ae1;
$custom-light: #a780eb;
$custom-dark: #000000;
JSON
{
  "hex": "#784ae1",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 258.278,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.21622,
    "h": 291.6
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#784AE1
secondary
#CFE1A6
accent
#EE39B7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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