#784AD0#784AD0

#784AD0 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.196 H 294.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#784AD0
RGBrgb(120, 74, 208)
HSLhsl(261, 59%, 55%)
HSVhsv(261, 64%, 82%)
CMYKcmyk(42.3%, 64.4%, 0%, 18.4%)
CIE-LABlab(43.43, 48.87, -62.53)
CIE-LCHlch(43.43, 79.36, 308.01°)
OKLaboklab(53.34% 0.0817 -0.1785)
OKLCHoklch(53.34% 0.196 294.6)
XYZxyz(21.5766, 13.4442, 61.1204)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AD0 #A2D04A
analogous
#4A5FD0 #784AD0 #BB4AD0
triadic
#784AD0 #D0784A #4AD078
tetradic
#784AD0 #D04A5F #A2D04A #4AD0BB
square
#784AD0 #D04A5F #A2D04A #4AD0BB
split-complementary
#784AD0 #D0BB4A #5FD04A
monochromatic
#41217F #5A2EAF #784AD0 #9C7BDD #C0ABE9

Accessibility & contrast

On white

5.69
#784AD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#784AD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AD0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AD0#FFFFFF#000000##FFFFFF
##784AD01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#606986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784ad0;
/* rgb */ color: rgb(120, 74, 208);
/* oklch */ color: oklch(53.3% 0.196 294.6);
Tailwind
colors: {
  custom: {
    50: '#a57fdf',
    500: '#784ad0',
    950: '#000000',
  },
}
SCSS
$custom: #784ad0;
$custom-light: #a57fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#784ad0",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 208
  },
  "hsl": {
    "h": 260.597,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.19635,
    "h": 294.6
  },
  "luminance": 0.13445
}

Semantic roles & 50–950 ramp

primary
#784AD0
secondary
#C4D79F
accent
#E246AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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