#784FC4#784FC4

#784FC4 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.175 H 296.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#784FC4
RGBrgb(120, 79, 196)
HSLhsl(261, 50%, 54%)
HSVhsv(261, 60%, 77%)
CMYKcmyk(38.8%, 59.7%, 0%, 23.1%)
CIE-LABlab(43.61, 42.93, -55.29)
CIE-LCHlch(43.61, 70.00, 307.82°)
OKLaboklab(53.21% 0.0769 -0.1573)
OKLCHoklch(53.21% 0.175 296.1)
XYZxyz(20.5029, 13.5702, 53.7529)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FC4 #9BC44F
analogous
#4F61C4 #784FC4 #B34FC4
triadic
#784FC4 #C4784F #4FC478
tetradic
#784FC4 #C44F61 #9BC44F #4FC4B3
square
#784FC4 #C44F61 #9BC44F #4FC4B3
split-complementary
#784FC4 #C4B34F #61C44F
monochromatic
#412672 #5B36A0 #784FC4 #9B7DD3 #BEABE3

Accessibility & contrast

On white

5.65
#784FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#784FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FC4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FC4#FFFFFF#000000##FFFFFF
##784FC41.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#1A65C1
Tritanopia (blue-blind)
#656882
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784fc4;
/* rgb */ color: rgb(120, 79, 196);
/* oklch */ color: oklch(53.2% 0.175 296.1);
Tailwind
colors: {
  custom: {
    50: '#a482d7',
    500: '#784fc4',
    950: '#000000',
  },
}
SCSS
$custom: #784fc4;
$custom-light: #a482d7;
$custom-dark: #000000;
JSON
{
  "hex": "#784fc4",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 261.026,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.17507,
    "h": 296.1
  },
  "luminance": 0.13571
}

Semantic roles & 50–950 ramp

primary
#784FC4
secondary
#BFD09E
accent
#D94EA9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #784FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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