#784FD7#784FD7

#784FD7 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.198 H 292.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#784FD7
RGBrgb(120, 79, 215)
HSLhsl(258, 63%, 58%)
HSVhsv(258, 63%, 84%)
CMYKcmyk(44.2%, 63.3%, 0%, 15.7%)
CIE-LABlab(44.93, 48.07, -64.10)
CIE-LCHlch(44.93, 80.12, 306.86°)
OKLaboklab(54.59% 0.0757 -0.1832)
OKLCHoklch(54.59% 0.198 292.5)
XYZxyz(22.8041, 14.4906, 65.8723)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FD7 #AED74F
analogous
#4F6AD7 #784FD7 #BC4FD7
triadic
#784FD7 #D7784F #4FD778
tetradic
#784FD7 #D74F6A #AED74F #4FD7BC
square
#784FD7 #D74F6A #AED74F #4FD7BC
split-complementary
#784FD7 #D7BC4F #6AD74F
monochromatic
#40208C #572BBE #784FD7 #9E81E2 #C4B3EE

Accessibility & contrast

On white

5.39
#784FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#784FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FD7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FD7#FFFFFF#000000##FFFFFF
##784FD71.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#5D6F8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #784fd7;
/* rgb */ color: rgb(120, 79, 215);
/* oklch */ color: oklch(54.6% 0.198 292.5);
Tailwind
colors: {
  custom: {
    50: '#a682e4',
    500: '#784fd7',
    950: '#000000',
  },
}
SCSS
$custom: #784fd7;
$custom-light: #a682e4;
$custom-dark: #000000;
JSON
{
  "hex": "#784fd7",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 258.088,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54589,
    "c": 0.19822,
    "h": 292.5
  },
  "luminance": 0.14491
}

Semantic roles & 50–950 ramp

primary
#784FD7
secondary
#CCDCA6
accent
#E642B5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #784FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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