#784AE2#784AE2

#784AE2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.217 H 291.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#784AE2
RGBrgb(120, 74, 226)
HSLhsl(258, 72%, 59%)
HSVhsv(258, 67%, 89%)
CMYKcmyk(46.9%, 67.3%, 0%, 11.4%)
CIE-LABlab(44.77, 53.71, -70.62)
CIE-LCHlch(44.77, 88.73, 307.25°)
OKLaboklab(54.74% 0.0794 -0.2023)
OKLCHoklch(54.74% 0.217 291.4)
XYZxyz(23.9181, 14.3808, 73.4523)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AE2 #B4E24A
analogous
#4A68E2 #784AE2 #C44AE2
triadic
#784AE2 #E2784A #4AE278
tetradic
#784AE2 #E24A68 #B4E24A #4AE2C4
square
#784AE2 #E24A68 #B4E24A #4AE2C4
split-complementary
#784AE2 #E2C44A #68E24A
monochromatic
#3F1999 #5521CE #784AE2 #9F7FEA #C7B3F3

Accessibility & contrast

On white

5.42
#784AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#784AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AE2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AE2#FFFFFF#000000##FFFFFF
##784AE21.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#577090
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784ae2;
/* rgb */ color: rgb(120, 74, 226);
/* oklch */ color: oklch(54.7% 0.217 291.4);
Tailwind
colors: {
  custom: {
    50: '#a780ec',
    500: '#784ae2',
    950: '#000000',
  },
}
SCSS
$custom: #784ae2;
$custom-light: #a780ec;
$custom-dark: #000000;
JSON
{
  "hex": "#784ae2",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 258.158,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54735,
    "c": 0.21738,
    "h": 291.4
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#784AE2
secondary
#D0E2A6
accent
#EF39B8
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #784AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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