#784AF5#784AF5

#784AF5 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.239 H 288.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#784AF5
RGBrgb(120, 74, 245)
HSLhsl(256, 90%, 63%)
HSVhsv(256, 70%, 96%)
CMYKcmyk(51%, 69.8%, 0%, 3.9%)
CIE-LABlab(46.29, 58.86, -78.87)
CIE-LCHlch(46.29, 98.41, 306.74°)
OKLaboklab(56.28% 0.0762 -0.2265)
OKLCHoklch(56.28% 0.239 288.6)
XYZxyz(26.6711, 15.4820, 87.9515)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AF5 #C7F54A
analogous
#4A72F5 #784AF5 #CD4AF5
triadic
#784AF5 #F5784A #4AF578
tetradic
#784AF5 #F54A72 #C7F54A #4AF5CD
square
#784AF5 #F54A72 #C7F54A #4AF5CD
split-complementary
#784AF5 #F5CD4A #72F54A
monochromatic
#3A0ABA #4D10F2 #784AF5 #A384F8 #CFBEFB

Accessibility & contrast

On white

5.13
#784AF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#784AF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AF5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AF5#FFFFFF#000000##FFFFFF
##784AF51.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FA
Deuteranopia (green-blind)
#0069F2
Tritanopia (blue-blind)
#49779B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #784af5;
/* rgb */ color: rgb(120, 74, 245);
/* oklch */ color: oklch(56.3% 0.239 288.6);
Tailwind
colors: {
  custom: {
    50: '#aa80fa',
    500: '#784af5',
    950: '#000000',
  },
}
SCSS
$custom: #784af5;
$custom-light: #aa80fa;
$custom-dark: #000000;
JSON
{
  "hex": "#784af5",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 245
  },
  "hsl": {
    "h": 256.14,
    "s": 89.529,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56284,
    "c": 0.23902,
    "h": 288.6
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#784AF5
secondary
#DCECAE
accent
#E600A8
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A17
muted
#807C85

Preview Lab

Preview with #784AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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