#784FE7#784FE7

#784FE7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.217 H 289.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#784FE7
RGBrgb(120, 79, 231)
HSLhsl(256, 76%, 61%)
HSVhsv(256, 66%, 91%)
CMYKcmyk(48.1%, 65.8%, 0%, 9.4%)
CIE-LABlab(46.11, 52.46, -71.27)
CIE-LCHlch(46.11, 88.50, 306.35°)
OKLaboklab(55.82% 0.074 -0.2042)
OKLCHoklch(55.82% 0.217 289.9)
XYZxyz(24.9614, 15.3536, 77.2341)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FE7 #BEE74F
analogous
#4F72E7 #784FE7 #C44FE7
triadic
#784FE7 #E7784F #4FE778
tetradic
#784FE7 #E74F72 #BEE74F #4FE7C4
square
#784FE7 #E74F72 #BEE74F #4FE7C4
split-complementary
#784FE7 #E7C44F #72E74F
monochromatic
#3D17A5 #511EDB #784FE7 #A185EE #CBBBF6

Accessibility & contrast

On white

5.16
#784FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#784FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FE7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FE7#FFFFFF#000000##FFFFFF
##784FE71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#537494
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #784fe7;
/* rgb */ color: rgb(120, 79, 231);
/* oklch */ color: oklch(55.8% 0.217 289.9);
Tailwind
colors: {
  custom: {
    50: '#a883f0',
    500: '#784fe7',
    950: '#000000',
  },
}
SCSS
$custom: #784fe7;
$custom-light: #a883f0;
$custom-dark: #000000;
JSON
{
  "hex": "#784fe7",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 256.184,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55818,
    "c": 0.21723,
    "h": 289.9
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#784FE7
secondary
#D6E6AC
accent
#D80DA1
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #784FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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