#784FC5#784FC5

#784FC5 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.176 H 295.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#784FC5
RGBrgb(120, 79, 197)
HSLhsl(261, 50%, 54%)
HSVhsv(261, 60%, 77%)
CMYKcmyk(39.1%, 59.9%, 0%, 22.7%)
CIE-LABlab(43.68, 43.19, -55.76)
CIE-LCHlch(43.68, 70.54, 307.76°)
OKLaboklab(53.28% 0.0769 -0.1587)
OKLCHoklch(53.28% 0.176 295.9)
XYZxyz(20.6171, 13.6159, 54.3544)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FC5 #9CC54F
analogous
#4F61C5 #784FC5 #B34FC5
triadic
#784FC5 #C5784F #4FC578
tetradic
#784FC5 #C54F61 #9CC54F #4FC5B3
square
#784FC5 #C54F61 #9CC54F #4FC5B3
split-complementary
#784FC5 #C5B34F #61C54F
monochromatic
#412674 #5B35A2 #784FC5 #9B7DD4 #BFABE3

Accessibility & contrast

On white

5.64
#784FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#784FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FC5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FC5#FFFFFF#000000##FFFFFF
##784FC51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#1866C2
Tritanopia (blue-blind)
#656982
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784fc5;
/* rgb */ color: rgb(120, 79, 197);
/* oklch */ color: oklch(53.3% 0.176 295.9);
Tailwind
colors: {
  custom: {
    50: '#a482d7',
    500: '#784fc5',
    950: '#000000',
  },
}
SCSS
$custom: #784fc5;
$custom-light: #a482d7;
$custom-dark: #000000;
JSON
{
  "hex": "#784fc5",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 260.847,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.1763,
    "h": 295.9
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#784FC5
secondary
#C0D19F
accent
#DA4EA9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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