#784CD9#784CD9

#784CD9 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.3% C 0.204 H 292.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#784CD9
RGBrgb(120, 76, 217)
HSLhsl(259, 65%, 57%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(44.7%, 65%, 0%, 14.9%)
CIE-LABlab(44.48, 50.23, -65.98)
CIE-LCHlch(44.48, 82.92, 307.28°)
OKLaboklab(54.31% 0.0787 -0.1887)
OKLCHoklch(54.31% 0.204 292.6)
XYZxyz(22.8511, 14.1710, 67.1635)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CD9 #ADD94C
analogous
#4C67D9 #784CD9 #BE4CD9
triadic
#784CD9 #D9784C #4CD978
tetradic
#784CD9 #D94C67 #ADD94C #4CD9BE
square
#784CD9 #D94C67 #ADD94C #4CD9BE
split-complementary
#784CD9 #D9BE4C #67D94C
monochromatic
#401E8D #5829BF #784CD9 #9E7EE4 #C4B1EE

Accessibility & contrast

On white

5.48
#784CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#784CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CD9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CD9#FFFFFF#000000##FFFFFF
##784CD91.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#5C6E8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784cd9;
/* rgb */ color: rgb(120, 76, 217);
/* oklch */ color: oklch(54.3% 0.204 292.6);
Tailwind
colors: {
  custom: {
    50: '#a681e6',
    500: '#784cd9',
    950: '#000000',
  },
}
SCSS
$custom: #784cd9;
$custom-light: #a681e6;
$custom-dark: #000000;
JSON
{
  "hex": "#784cd9",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 258.723,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.20443,
    "h": 292.6
  },
  "luminance": 0.14172
}

Semantic roles & 50–950 ramp

primary
#784CD9
secondary
#CBDDA4
accent
#E840B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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