#784DB6#784DB6

#784DB6 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.161 H 299.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#784DB6
RGBrgb(120, 77, 182)
HSLhsl(265, 42%, 51%)
HSVhsv(265, 58%, 71%)
CMYKcmyk(34.1%, 57.7%, 0%, 28.6%)
CIE-LABlab(42.27, 40.35, -49.27)
CIE-LCHlch(42.27, 63.69, 309.32°)
OKLaboklab(51.94% 0.0796 -0.1396)
OKLCHoklch(51.94% 0.161 299.7)
XYZxyz(18.8411, 12.6781, 45.7014)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DB6 #8BB64D
analogous
#4D56B6 #784DB6 #AC4DB6
triadic
#784DB6 #B6784D #4DB678
tetradic
#784DB6 #B64D56 #8BB64D #4DB6AC
square
#784DB6 #B64D56 #8BB64D #4DB6AC
split-complementary
#784DB6 #B6AC4D #56B64D
monochromatic
#3F2861 #5B3A8C #784DB6 #9978C8 #BAA4DA

Accessibility & contrast

On white

5.94
#784DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#784DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DB6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DB6#FFFFFF#000000##FFFFFF
##784DB61.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64B9
Deuteranopia (green-blind)
#2D63B4
Tritanopia (blue-blind)
#6B627A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784db6;
/* rgb */ color: rgb(120, 77, 182);
/* oklch */ color: oklch(51.9% 0.161 299.7);
Tailwind
colors: {
  custom: {
    50: '#a380cc',
    500: '#784db6',
    950: '#000000',
  },
}
SCSS
$custom: #784db6;
$custom-light: #a380cc;
$custom-dark: #000000;
JSON
{
  "hex": "#784db6",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 264.571,
    "s": 41.833,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51942,
    "c": 0.16067,
    "h": 299.7
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#784DB6
secondary
#B4C798
accent
#D2569F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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