#784CF0#784CF0

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

Color values

HEX#784CF0
RGBrgb(120, 76, 240)
HSLhsl(256, 85%, 62%)
HSVhsv(256, 68%, 94%)
CMYKcmyk(50%, 68.3%, 0%, 5.9%)
CIE-LABlab(46.25, 56.49, -76.13)
CIE-LCHlch(46.25, 94.80, 306.58°)
OKLaboklab(56.13% 0.0754 -0.2185)
OKLCHoklch(56.13% 0.231 289)
XYZxyz(26.0538, 15.4521, 84.0309)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CF0 #C4F04C
analogous
#4C72F0 #784CF0 #CA4CF0
triadic
#784CF0 #F0784C #4CF078
tetradic
#784CF0 #F04C72 #C4F04C #4CF0CA
square
#784CF0 #F04C72 #C4F04C #4CF0CA
split-complementary
#784CF0 #F0CA4C #72F04C
monochromatic
#3B0FB3 #4D14EB #784CF0 #A384F5 #CDBDF9

Accessibility & contrast

On white

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

On black

4.09
#784CF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##784CF0#FFFFFF#000000##FFFFFF
##784CF01.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0069ED
Tritanopia (blue-blind)
#4D7698
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #784cf0;
/* rgb */ color: rgb(120, 76, 240);
/* oklch */ color: oklch(56.1% 0.231 289.0);
Tailwind
colors: {
  custom: {
    50: '#a981f6',
    500: '#784cf0',
    950: '#000000',
  },
}
SCSS
$custom: #784cf0;
$custom-light: #a981f6;
$custom-dark: #000000;
JSON
{
  "hex": "#784cf0",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 240
  },
  "hsl": {
    "h": 256.098,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56131,
    "c": 0.23115,
    "h": 289
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#784CF0
secondary
#DAEAAE
accent
#E104A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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