#784CF5#784CF5

#784CF5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.237 H 288.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#784CF5
RGBrgb(120, 76, 245)
HSLhsl(256, 89%, 63%)
HSVhsv(256, 69%, 96%)
CMYKcmyk(51%, 69%, 0%, 3.9%)
CIE-LABlab(46.65, 57.86, -78.28)
CIE-LCHlch(46.65, 97.34, 306.47°)
OKLaboklab(56.54% 0.0745 -0.2248)
OKLCHoklch(56.54% 0.237 288.3)
XYZxyz(26.8068, 15.7533, 87.9967)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CF5 #C9F54C
analogous
#4C75F5 #784CF5 #CC4CF5
triadic
#784CF5 #F5784C #4CF578
tetradic
#784CF5 #F54C75 #C9F54C #4CF5CC
square
#784CF5 #F54C75 #C9F54C #4CF5CC
split-complementary
#784CF5 #F5CC4C #75F54C
monochromatic
#390BBC #4C12F2 #784CF5 #A486F8 #CFC0FB

Accessibility & contrast

On white

5.06
#784CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#784CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CF5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CF5#FFFFFF#000000##FFFFFF
##784CF51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FA
Deuteranopia (green-blind)
#006AF2
Tritanopia (blue-blind)
#49789B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #784cf5;
/* rgb */ color: rgb(120, 76, 245);
/* oklch */ color: oklch(56.5% 0.237 288.3);
Tailwind
colors: {
  custom: {
    50: '#aa81fa',
    500: '#784cf5',
    950: '#000000',
  },
}
SCSS
$custom: #784cf5;
$custom-light: #aa81fa;
$custom-dark: #000000;
JSON
{
  "hex": "#784cf5",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 255.621,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56542,
    "c": 0.23685,
    "h": 288.3
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

primary
#784CF5
secondary
#DDEDB0
accent
#E600AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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