#784AD7#784AD7

#784AD7 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.205 H 293.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#784AD7
RGBrgb(120, 74, 215)
HSLhsl(260, 64%, 57%)
HSVhsv(260, 66%, 84%)
CMYKcmyk(44.2%, 65.6%, 0%, 15.7%)
CIE-LABlab(43.94, 50.75, -65.71)
CIE-LCHlch(43.94, 83.02, 307.68°)
OKLaboklab(53.87% 0.0809 -0.1879)
OKLCHoklch(53.87% 0.205 293.3)
XYZxyz(22.4569, 13.7963, 65.7565)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AD7 #A9D74A
analogous
#4A63D7 #784AD7 #BE4AD7
triadic
#784AD7 #D7784A #4AD778
tetradic
#784AD7 #D74A63 #A9D74A #4AD7BE
square
#784AD7 #D74A63 #A9D74A #4AD7BE
split-complementary
#784AD7 #D7BE4A #63D74A
monochromatic
#411E88 #5929BB #784AD7 #9D7CE2 #C3AEED

Accessibility & contrast

On white

5.59
#784AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#784AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AD7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AD7#FFFFFF#000000##FFFFFF
##784AD71.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#5D6C8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784ad7;
/* rgb */ color: rgb(120, 74, 215);
/* oklch */ color: oklch(53.9% 0.205 293.3);
Tailwind
colors: {
  custom: {
    50: '#a67fe4',
    500: '#784ad7',
    950: '#000000',
  },
}
SCSS
$custom: #784ad7;
$custom-light: #a67fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#784ad7",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 215
  },
  "hsl": {
    "h": 259.574,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.20458,
    "h": 293.3
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#784AD7
secondary
#C8DBA2
accent
#E741B1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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