#784AF8#784AF8

#784AF8 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.242 H 288.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#784AF8
RGBrgb(120, 74, 248)
HSLhsl(256, 93%, 63%)
HSVhsv(256, 70%, 97%)
CMYKcmyk(51.6%, 70.2%, 0%, 2.7%)
CIE-LABlab(46.53, 59.68, -80.15)
CIE-LCHlch(46.53, 99.92, 306.67°)
OKLaboklab(56.54% 0.0756 -0.2303)
OKLCHoklch(56.54% 0.242 288.2)
XYZxyz(27.1328, 15.6666, 90.3830)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AF8 #CAF84A
analogous
#4A73F8 #784AF8 #CF4AF8
triadic
#784AF8 #F8784A #4AF878
tetradic
#784AF8 #F84A73 #CAF84A #4AF8CF
square
#784AF8 #F84A73 #CAF84A #4AF8CF
split-complementary
#784AF8 #F8CF4A #73F84A
monochromatic
#3807C0 #4C0FF6 #784AF8 #A485FA #D0C0FD

Accessibility & contrast

On white

5.08
#784AF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#784AF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AF8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AF8#FFFFFF#000000##FFFFFF
##784AF81.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FD
Deuteranopia (green-blind)
#006AF5
Tritanopia (blue-blind)
#47789C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #784af8;
/* rgb */ color: rgb(120, 74, 248);
/* oklch */ color: oklch(56.5% 0.242 288.2);
Tailwind
colors: {
  custom: {
    50: '#aa80fc',
    500: '#784af8',
    950: '#000000',
  },
}
SCSS
$custom: #784af8;
$custom-light: #aa80fc;
$custom-dark: #000000;
JSON
{
  "hex": "#784af8",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 248
  },
  "hsl": {
    "h": 255.862,
    "s": 92.553,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56536,
    "c": 0.24239,
    "h": 288.2
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#784AF8
secondary
#DEEEB0
accent
#E600A9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A18
muted
#807C86

Preview Lab

Preview with #784AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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