#784AC7#784AC7

#784AC7 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.186 H 296.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#784AC7
RGBrgb(120, 74, 199)
HSLhsl(262, 53%, 54%)
HSVhsv(262, 63%, 78%)
CMYKcmyk(39.7%, 62.8%, 0%, 22%)
CIE-LABlab(42.78, 46.48, -58.37)
CIE-LCHlch(42.78, 74.61, 308.53°)
OKLaboklab(52.68% 0.0825 -0.1663)
OKLCHoklch(52.68% 0.186 296.4)
XYZxyz(20.5006, 13.0138, 55.4536)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AC7 #99C74A
analogous
#4A5AC7 #784AC7 #B64AC7
triadic
#784AC7 #C7784A #4AC778
tetradic
#784AC7 #C74A5A #99C74A #4AC7B6
square
#784AC7 #C74A5A #99C74A #4AC7B6
split-complementary
#784AC7 #C7B64A #5AC74A
monochromatic
#412473 #5B32A2 #784AC7 #9B79D5 #BEA7E4

Accessibility & contrast

On white

5.83
#784AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#784AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AC7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AC7#FFFFFF#000000##FFFFFF
##784AC71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#646682
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784ac7;
/* rgb */ color: rgb(120, 74, 199);
/* oklch */ color: oklch(52.7% 0.186 296.4);
Tailwind
colors: {
  custom: {
    50: '#a47fd9',
    500: '#784ac7',
    950: '#000000',
  },
}
SCSS
$custom: #784ac7;
$custom-light: #a47fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#784ac7",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 262.08,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.18566,
    "h": 296.4
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#784AC7
secondary
#BDD19C
accent
#DC4CA7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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