#784DF0#784DF0

#784DF0 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.230 H 288.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#784DF0
RGBrgb(120, 77, 240)
HSLhsl(256, 84%, 62%)
HSVhsv(256, 68%, 94%)
CMYKcmyk(50%, 67.9%, 0%, 5.9%)
CIE-LABlab(46.43, 55.98, -75.83)
CIE-LCHlch(46.43, 94.25, 306.44°)
OKLaboklab(56.26% 0.0745 -0.2176)
OKLCHoklch(56.26% 0.23 288.9)
XYZxyz(26.1232, 15.5909, 84.0541)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DF0 #C5F04D
analogous
#4D74F0 #784DF0 #C94DF0
triadic
#784DF0 #F0784D #4DF078
tetradic
#784DF0 #F04D74 #C5F04D #4DF0C9
square
#784DF0 #F04D74 #C5F04D #4DF0C9
split-complementary
#784DF0 #F0C94D #74F04D
monochromatic
#3A0FB3 #4D15EB #784DF0 #A385F5 #CEBEFA

Accessibility & contrast

On white

5.10
#784DF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#784DF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DF0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DF0#FFFFFF#000000##FFFFFF
##784DF01.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#006AED
Tritanopia (blue-blind)
#4D7799
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #784df0;
/* rgb */ color: rgb(120, 77, 240);
/* oklch */ color: oklch(56.3% 0.230 288.9);
Tailwind
colors: {
  custom: {
    50: '#a982f6',
    500: '#784df0',
    950: '#000000',
  },
}
SCSS
$custom: #784df0;
$custom-light: #a982f6;
$custom-dark: #000000;
JSON
{
  "hex": "#784df0",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 240
  },
  "hsl": {
    "h": 255.828,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.23002,
    "h": 288.9
  },
  "luminance": 0.15592
}

Semantic roles & 50–950 ramp

primary
#784DF0
secondary
#DBEAAE
accent
#E105A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #784DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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