#784DAE#784DAE

#784DAE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.151 H 301.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#784DAE
RGBrgb(120, 77, 174)
HSLhsl(267, 39%, 49%)
HSVhsv(267, 56%, 68%)
CMYKcmyk(31%, 55.7%, 0%, 31.8%)
CIE-LABlab(41.78, 38.29, -45.36)
CIE-LCHlch(41.78, 59.36, 310.17°)
OKLaboklab(51.42% 0.0794 -0.1281)
OKLCHoklch(51.42% 0.151 301.8)
XYZxyz(18.0378, 12.3568, 41.4710)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DAE #83AE4D
analogous
#4D53AE #784DAE #A94DAE
triadic
#784DAE #AE784D #4DAE78
tetradic
#784DAE #AE4D53 #83AE4D #4DAEA9
square
#784DAE #AE4D53 #83AE4D #4DAEA9
split-complementary
#784DAE #AEA94D #53AE4D
monochromatic
#3D2759 #5B3A84 #784DAE #9876C2 #B8A0D5

Accessibility & contrast

On white

6.05
#784DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#784DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DAE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DAE#FFFFFF#000000##FFFFFF
##784DAE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B1
Deuteranopia (green-blind)
#3662AC
Tritanopia (blue-blind)
#6E6076
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784dae;
/* rgb */ color: rgb(120, 77, 174);
/* oklch */ color: oklch(51.4% 0.151 301.8);
Tailwind
colors: {
  custom: {
    50: '#a280c7',
    500: '#784dae',
    950: '#000000',
  },
}
SCSS
$custom: #784dae;
$custom-light: #a280c7;
$custom-dark: #000000;
JSON
{
  "hex": "#784dae",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 266.598,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.15071,
    "h": 301.8
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#784DAE
secondary
#AEC295
accent
#CF599B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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