#784AE0#784AE0

#784AE0 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.215 H 291.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#784AE0
RGBrgb(120, 74, 224)
HSLhsl(258, 71%, 58%)
HSVhsv(258, 67%, 88%)
CMYKcmyk(46.4%, 67%, 0%, 12.2%)
CIE-LABlab(44.62, 53.17, -69.74)
CIE-LCHlch(44.62, 87.70, 307.32°)
OKLaboklab(54.58% 0.0797 -0.1997)
OKLCHoklch(54.58% 0.215 291.8)
XYZxyz(23.6453, 14.2716, 72.0154)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AE0 #B2E04A
analogous
#4A67E0 #784AE0 #C34AE0
triadic
#784AE0 #E0784A #4AE078
tetradic
#784AE0 #E04A67 #B2E04A #4AE0C3
square
#784AE0 #E04A67 #B2E04A #4AE0C3
split-complementary
#784AE0 #E0C34A #67E04A
monochromatic
#401A96 #5623CA #784AE0 #9F7EE9 #C6B3F2

Accessibility & contrast

On white

5.45
#784AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#784AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AE0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AE0#FFFFFF#000000##FFFFFF
##784AE01.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#586F8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784ae0;
/* rgb */ color: rgb(120, 74, 224);
/* oklch */ color: oklch(54.6% 0.215 291.8);
Tailwind
colors: {
  custom: {
    50: '#a780eb',
    500: '#784ae0',
    950: '#000000',
  },
}
SCSS
$custom: #784ae0;
$custom-light: #a780eb;
$custom-dark: #000000;
JSON
{
  "hex": "#784ae0",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 258.4,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.21506,
    "h": 291.8
  },
  "luminance": 0.14272
}

Semantic roles & 50–950 ramp

primary
#784AE0
secondary
#CEE1A5
accent
#EE3AB7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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