#784EFF#784EFF

#784EFF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.246 H 286.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#784EFF
RGBrgb(120, 78, 255)
HSLhsl(254, 100%, 65%)
HSVhsv(254, 69%, 100%)
CMYKcmyk(52.9%, 69.4%, 0%, 0%)
CIE-LABlab(47.83, 59.59, -81.93)
CIE-LCHlch(47.83, 101.31, 306.03°)
OKLaboklab(57.63% 0.0711 -0.2355)
OKLCHoklch(57.63% 0.246 286.8)
XYZxyz(28.5147, 16.6604, 96.3016)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EFF #D5FF4E
analogous
#4E7DFF #784EFF #D04EFF
triadic
#784EFF #FF784E #4EFF78
tetradic
#784EFF #FF4E7D #D5FF4E #4EFFD0
square
#784EFF #FF4E7D #D5FF4E #4EFFD0
split-complementary
#784EFF #FFD04E #7DFF4E
monochromatic
#3200D3 #4911FF #784EFF #A78BFF #D5C8FF

Accessibility & contrast

On white

4.85
#784EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#784EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EFF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EFF#FFFFFF#000000##FFFFFF
##784EFF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006CFC
Tritanopia (blue-blind)
#407DA1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #784eff;
/* rgb */ color: rgb(120, 78, 255);
/* oklch */ color: oklch(57.6% 0.246 286.8);
Tailwind
colors: {
  custom: {
    50: '#ab83ff',
    500: '#784eff',
    950: '#000000',
  },
}
SCSS
$custom: #784eff;
$custom-light: #ab83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#784eff",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 254.237,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57634,
    "c": 0.24601,
    "h": 286.8
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

primary
#784EFF
secondary
#E4F2B7
accent
#E600AF
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #784EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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