#784AC5#784AC5

#784AC5 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.183 H 296.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#784AC5
RGBrgb(120, 74, 197)
HSLhsl(262, 51%, 53%)
HSVhsv(262, 62%, 77%)
CMYKcmyk(39.1%, 62.4%, 0%, 22.7%)
CIE-LABlab(42.64, 45.95, -57.43)
CIE-LCHlch(42.64, 73.55, 308.66°)
OKLaboklab(52.53% 0.0827 -0.1635)
OKLCHoklch(52.53% 0.183 296.8)
XYZxyz(20.2700, 12.9215, 54.2387)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AC5 #97C54A
analogous
#4A59C5 #784AC5 #B54AC5
triadic
#784AC5 #C5784A #4AC578
tetradic
#784AC5 #C54A59 #97C54A #4AC5B5
square
#784AC5 #C54A59 #97C54A #4AC5B5
split-complementary
#784AC5 #C5B54A #59C54A
monochromatic
#412471 #5B339F #784AC5 #9B78D4 #BDA7E3

Accessibility & contrast

On white

5.86
#784AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#784AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AC5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AC5#FFFFFF#000000##FFFFFF
##784AC51.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0263C2
Tritanopia (blue-blind)
#656581
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #784ac5;
/* rgb */ color: rgb(120, 74, 197);
/* oklch */ color: oklch(52.5% 0.183 296.8);
Tailwind
colors: {
  custom: {
    50: '#a47fd7',
    500: '#784ac5',
    950: '#000000',
  },
}
SCSS
$custom: #784ac5;
$custom-light: #a47fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#784ac5",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 262.439,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.18327,
    "h": 296.8
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#784AC5
secondary
#BCD09B
accent
#DB4DA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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