#784BD7#784BD7

#784BD7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.203 H 293.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#784BD7
RGBrgb(120, 75, 215)
HSLhsl(259, 64%, 57%)
HSVhsv(259, 65%, 84%)
CMYKcmyk(44.2%, 65.1%, 0%, 15.7%)
CIE-LABlab(44.13, 50.22, -65.39)
CIE-LCHlch(44.13, 82.45, 307.52°)
OKLaboklab(54.01% 0.0799 -0.187)
OKLCHoklch(54.01% 0.203 293.1)
XYZxyz(22.5242, 13.9309, 65.7790)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BD7 #AAD74B
analogous
#4B64D7 #784BD7 #BE4BD7
triadic
#784BD7 #D7784B #4BD778
tetradic
#784BD7 #D74B64 #AAD74B #4BD7BE
square
#784BD7 #D74B64 #AAD74B #4BD7BE
split-complementary
#784BD7 #D7BE4B #64D74B
monochromatic
#411E89 #582ABB #784BD7 #9E7DE2 #C3AFED

Accessibility & contrast

On white

5.55
#784BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#784BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BD7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BD7#FFFFFF#000000##FFFFFF
##784BD71.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #784bd7;
/* rgb */ color: rgb(120, 75, 215);
/* oklch */ color: oklch(54.0% 0.203 293.1);
Tailwind
colors: {
  custom: {
    50: '#a680e4',
    500: '#784bd7',
    950: '#000000',
  },
}
SCSS
$custom: #784bd7;
$custom-light: #a680e4;
$custom-dark: #000000;
JSON
{
  "hex": "#784bd7",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 259.286,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.20333,
    "h": 293.1
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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