#784BD6#784BD6

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

Color values

HEX#784BD6
RGBrgb(120, 75, 214)
HSLhsl(259, 63%, 57%)
HSVhsv(259, 65%, 84%)
CMYKcmyk(43.9%, 65%, 0%, 16.1%)
CIE-LABlab(44.06, 49.95, -64.94)
CIE-LCHlch(44.06, 81.93, 307.57°)
OKLaboklab(53.94% 0.08 -0.1856)
OKLCHoklch(53.94% 0.202 293.3)
XYZxyz(22.3961, 13.8796, 65.1043)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BD6 #A9D64B
analogous
#4B64D6 #784BD6 #BD4BD6
triadic
#784BD6 #D6784B #4BD678
tetradic
#784BD6 #D64B64 #A9D64B #4BD6BD
square
#784BD6 #D64B64 #A9D64B #4BD6BD
split-complementary
#784BD6 #D6BD4B #64D64B
monochromatic
#411F88 #592ABA #784BD6 #9D7DE1 #C3AFED

Accessibility & contrast

On white

5.56
#784BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#784BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BD6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BD6#FFFFFF#000000##FFFFFF
##784BD61.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#5D6C8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784bd6;
/* rgb */ color: rgb(120, 75, 214);
/* oklch */ color: oklch(53.9% 0.202 293.3);
Tailwind
colors: {
  custom: {
    50: '#a680e4',
    500: '#784bd6',
    950: '#000000',
  },
}
SCSS
$custom: #784bd6;
$custom-light: #a680e4;
$custom-dark: #000000;
JSON
{
  "hex": "#784bd6",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 259.424,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.20215,
    "h": 293.3
  },
  "luminance": 0.1388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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