#784AC0#784AC0

#784AC0 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.177 H 297.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#784AC0
RGBrgb(120, 74, 192)
HSLhsl(263, 48%, 52%)
HSVhsv(263, 61%, 75%)
CMYKcmyk(37.5%, 61.5%, 0%, 24.7%)
CIE-LABlab(42.30, 44.63, -55.08)
CIE-LCHlch(42.30, 70.89, 309.02°)
OKLaboklab(52.17% 0.083 -0.1566)
OKLCHoklch(52.17% 0.177 297.9)
XYZxyz(19.7065, 12.6961, 51.2713)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AC0 #92C04A
analogous
#4A57C0 #784AC0 #B34AC0
triadic
#784AC0 #C0784A #4AC078
tetradic
#784AC0 #C04A57 #92C04A #4AC0B3
square
#784AC0 #C04A57 #92C04A #4AC0B3
split-complementary
#784AC0 #C0B34A #57C04A
monochromatic
#40256B #5B3598 #784AC0 #9A77D0 #BCA5E0

Accessibility & contrast

On white

5.93
#784AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#784AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AC0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AC0#FFFFFF#000000##FFFFFF
##784AC01.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#1663BD
Tritanopia (blue-blind)
#67647E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784ac0;
/* rgb */ color: rgb(120, 74, 192);
/* oklch */ color: oklch(52.2% 0.177 297.9);
Tailwind
colors: {
  custom: {
    50: '#a47fd4',
    500: '#784ac0',
    950: '#000000',
  },
}
SCSS
$custom: #784ac0;
$custom-light: #a47fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#784ac0",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 263.39,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.17726,
    "h": 297.9
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#784AC0
secondary
#B9CD99
accent
#D850A3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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