#784FC7#784FC7

#784FC7 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.179 H 295.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#784FC7
RGBrgb(120, 79, 199)
HSLhsl(261, 52%, 55%)
HSVhsv(261, 60%, 78%)
CMYKcmyk(39.7%, 60.3%, 0%, 22%)
CIE-LABlab(43.81, 43.73, -56.71)
CIE-LCHlch(43.81, 71.61, 307.64°)
OKLaboklab(53.42% 0.0768 -0.1614)
OKLCHoklch(53.42% 0.179 295.4)
XYZxyz(20.8478, 13.7081, 55.5693)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784FC7 #9EC74F
analogous
#4F62C7 #784FC7 #B44FC7
triadic
#784FC7 #C7784F #4FC778
tetradic
#784FC7 #C74F62 #9EC74F #4FC7B4
square
#784FC7 #C74F62 #9EC74F #4FC7B4
split-complementary
#784FC7 #C7B44F #62C74F
monochromatic
#412676 #5B34A4 #784FC7 #9C7DD6 #BFACE5

Accessibility & contrast

On white

5.61
#784FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#784FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784FC7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784FC7#FFFFFF#000000##FFFFFF
##784FC71.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#1266C4
Tritanopia (blue-blind)
#646983
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784fc7;
/* rgb */ color: rgb(120, 79, 199);
/* oklch */ color: oklch(53.4% 0.179 295.4);
Tailwind
colors: {
  custom: {
    50: '#a482d9',
    500: '#784fc7',
    950: '#000000',
  },
}
SCSS
$custom: #784fc7;
$custom-light: #a482d9;
$custom-dark: #000000;
JSON
{
  "hex": "#784fc7",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 260.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53423,
    "c": 0.17876,
    "h": 295.4
  },
  "luminance": 0.13709
}

Semantic roles & 50–950 ramp

primary
#784FC7
secondary
#C1D2A0
accent
#DB4DAA
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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