#784AC2#784AC2

#784AC2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.180 H 297.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#784AC2
RGBrgb(120, 74, 194)
HSLhsl(263, 50%, 53%)
HSVhsv(263, 62%, 76%)
CMYKcmyk(38.1%, 61.9%, 0%, 23.9%)
CIE-LABlab(42.44, 45.16, -56.02)
CIE-LCHlch(42.44, 71.96, 308.87°)
OKLaboklab(52.31% 0.0829 -0.1594)
OKLCHoklch(52.31% 0.18 297.5)
XYZxyz(19.9296, 12.7854, 52.4463)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AC2 #94C24A
analogous
#4A58C2 #784AC2 #B44AC2
triadic
#784AC2 #C2784A #4AC278
tetradic
#784AC2 #C24A58 #94C24A #4AC2B4
square
#784AC2 #C24A58 #94C24A #4AC2B4
split-complementary
#784AC2 #C2B44A #58C24A
monochromatic
#40256D #5B349B #784AC2 #9A78D1 #BCA6E1

Accessibility & contrast

On white

5.90
#784AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#784AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AC2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AC2#FFFFFF#000000##FFFFFF
##784AC21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0F63BF
Tritanopia (blue-blind)
#66647F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784ac2;
/* rgb */ color: rgb(120, 74, 194);
/* oklch */ color: oklch(52.3% 0.180 297.5);
Tailwind
colors: {
  custom: {
    50: '#a47fd5',
    500: '#784ac2',
    950: '#000000',
  },
}
SCSS
$custom: #784ac2;
$custom-light: #a47fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#784ac2",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 263,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52314,
    "c": 0.17966,
    "h": 297.5
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#784AC2
secondary
#BACE9A
accent
#D94FA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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