#784AC4#784AC4

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

Color values

HEX#784AC4
RGBrgb(120, 74, 196)
HSLhsl(263, 51%, 53%)
HSVhsv(263, 62%, 77%)
CMYKcmyk(38.8%, 62.2%, 0%, 23.1%)
CIE-LABlab(42.58, 45.68, -56.96)
CIE-LCHlch(42.58, 73.02, 308.73°)
OKLaboklab(52.46% 0.0828 -0.1622)
OKLCHoklch(52.46% 0.182 297)
XYZxyz(20.1558, 12.8758, 53.6372)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AC4 #96C44A
analogous
#4A59C4 #784AC4 #B54AC4
triadic
#784AC4 #C4784A #4AC478
tetradic
#784AC4 #C44A59 #96C44A #4AC4B5
square
#784AC4 #C44A59 #96C44A #4AC4B5
split-complementary
#784AC4 #C4B54A #59C44A
monochromatic
#41246F #5B339D #784AC4 #9A78D3 #BDA6E2

Accessibility & contrast

On white

5.87
#784AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784AC4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AC4#FFFFFF#000000##FFFFFF
##784AC41.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0763C1
Tritanopia (blue-blind)
#666580
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784ac4;
/* rgb */ color: rgb(120, 74, 196);
/* oklch */ color: oklch(52.5% 0.182 297.0);
Tailwind
colors: {
  custom: {
    50: '#a47fd7',
    500: '#784ac4',
    950: '#000000',
  },
}
SCSS
$custom: #784ac4;
$custom-light: #a47fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#784ac4",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 262.623,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.18207,
    "h": 297
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#784AC4
secondary
#BBCF9B
accent
#DA4DA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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