#784DB9#784DB9

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

Color values

HEX#784DB9
RGBrgb(120, 77, 185)
HSLhsl(264, 44%, 51%)
HSVhsv(264, 58%, 73%)
CMYKcmyk(35.1%, 58.4%, 0%, 27.5%)
CIE-LABlab(42.47, 41.14, -50.72)
CIE-LCHlch(42.47, 65.31, 309.04°)
OKLaboklab(52.14% 0.0796 -0.1438)
OKLCHoklch(52.14% 0.164 299)
XYZxyz(19.1544, 12.8034, 47.3517)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DB9 #8EB94D
analogous
#4D58B9 #784DB9 #AE4DB9
triadic
#784DB9 #B9784D #4DB978
tetradic
#784DB9 #B94D58 #8EB94D #4DB9AE
square
#784DB9 #B94D58 #8EB94D #4DB9AE
split-complementary
#784DB9 #B9AE4D #58B94D
monochromatic
#402764 #5B3990 #784DB9 #9979CA #BBA5DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784DB9#FFFFFF#000000##FFFFFF
##784DB91.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)
#1564BD
Deuteranopia (green-blind)
#2963B7
Tritanopia (blue-blind)
#6A637B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784db9;
/* rgb */ color: rgb(120, 77, 185);
/* oklch */ color: oklch(52.1% 0.164 299.0);
Tailwind
colors: {
  custom: {
    50: '#a380cf',
    500: '#784db9',
    950: '#000000',
  },
}
SCSS
$custom: #784db9;
$custom-light: #a380cf;
$custom-dark: #000000;
JSON
{
  "hex": "#784db9",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 263.889,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.16439,
    "h": 299
  },
  "luminance": 0.12804
}

Semantic roles & 50–950 ramp

primary
#784DB9
secondary
#B6C999
accent
#D355A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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