#784AE8#784AE8

#784AE8 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.224 H 290.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#784AE8
RGBrgb(120, 74, 232)
HSLhsl(257, 77%, 60%)
HSVhsv(257, 68%, 91%)
CMYKcmyk(48.3%, 68.1%, 0%, 9%)
CIE-LABlab(45.24, 55.34, -73.26)
CIE-LCHlch(45.24, 91.81, 307.07°)
OKLaboklab(55.22% 0.0785 -0.2101)
OKLCHoklch(55.22% 0.224 290.5)
XYZxyz(24.7558, 14.7158, 77.8643)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AE8 #BAE84A
analogous
#4A6BE8 #784AE8 #C74AE8
triadic
#784AE8 #E8784A #4AE878
tetradic
#784AE8 #E84A6B #BAE84A #4AE8C7
square
#784AE8 #E84A6B #BAE84A #4AE8C7
split-complementary
#784AE8 #E8C74A #6BE84A
monochromatic
#3E15A3 #531CD9 #784AE8 #A080EF #C9B7F6

Accessibility & contrast

On white

5.33
#784AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#784AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AE8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AE8#FFFFFF#000000##FFFFFF
##784AE81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#537293
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #784ae8;
/* rgb */ color: rgb(120, 74, 232);
/* oklch */ color: oklch(55.2% 0.224 290.5);
Tailwind
colors: {
  custom: {
    50: '#a880f0',
    500: '#784ae8',
    950: '#000000',
  },
}
SCSS
$custom: #784ae8;
$custom-light: #a880f0;
$custom-dark: #000000;
JSON
{
  "hex": "#784ae8",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 257.468,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.55216,
    "c": 0.22427,
    "h": 290.5
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#784AE8
secondary
#D4E5A8
accent
#F434BC
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #784AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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