#784AE3#784AE3

#784AE3 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.219 H 291.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#784AE3
RGBrgb(120, 74, 227)
HSLhsl(258, 73%, 59%)
HSVhsv(258, 67%, 89%)
CMYKcmyk(47.1%, 67.4%, 0%, 11%)
CIE-LABlab(44.85, 53.98, -71.06)
CIE-LCHlch(44.85, 89.24, 307.22°)
OKLaboklab(54.82% 0.0793 -0.2036)
OKLCHoklch(54.82% 0.219 291.3)
XYZxyz(24.0557, 14.4358, 74.1771)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AE3 #B5E34A
analogous
#4A69E3 #784AE3 #C54AE3
triadic
#784AE3 #E3784A #4AE378
tetradic
#784AE3 #E34A69 #B5E34A #4AE3C5
square
#784AE3 #E34A69 #B5E34A #4AE3C5
split-complementary
#784AE3 #E3C54A #69E34A
monochromatic
#3F189B #5520D0 #784AE3 #A07FEB #C7B4F3

Accessibility & contrast

On white

5.40
#784AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#784AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AE3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AE3#FFFFFF#000000##FFFFFF
##784AE31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#567091
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784ae3;
/* rgb */ color: rgb(120, 74, 227);
/* oklch */ color: oklch(54.8% 0.219 291.3);
Tailwind
colors: {
  custom: {
    50: '#a780ed',
    500: '#784ae3',
    950: '#000000',
  },
}
SCSS
$custom: #784ae3;
$custom-light: #a780ed;
$custom-dark: #000000;
JSON
{
  "hex": "#784ae3",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 258.039,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54815,
    "c": 0.21852,
    "h": 291.3
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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