#784EAA#784EAA

#784EAA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.3% C 0.144 H 302.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#784EAA
RGBrgb(120, 78, 170)
HSLhsl(267, 37%, 49%)
HSVhsv(267, 54%, 67%)
CMYKcmyk(29.4%, 54.1%, 0%, 33.3%)
CIE-LABlab(41.76, 36.70, -43.02)
CIE-LCHlch(41.76, 56.55, 310.47°)
OKLaboklab(51.33% 0.0779 -0.1213)
OKLCHoklch(51.33% 0.144 302.7)
XYZxyz(17.7242, 12.3441, 39.4713)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EAA #80AA4E
analogous
#4E52AA #784EAA #A64EAA
triadic
#784EAA #AA784E #4EAA78
tetradic
#784EAA #AA4E52 #80AA4E #4EAAA6
square
#784EAA #AA4E52 #80AA4E #4EAAA6
split-complementary
#784EAA #AAA64E #52AA4E
monochromatic
#3D2856 #5A3B80 #784EAA #9775C0 #B79FD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784EAA#FFFFFF#000000##FFFFFF
##784EAA1.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)
#2D62AD
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#6F5F74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #784eaa;
/* rgb */ color: rgb(120, 78, 170);
/* oklch */ color: oklch(51.3% 0.144 302.7);
Tailwind
colors: {
  custom: {
    50: '#a281c4',
    500: '#784eaa',
    950: '#000000',
  },
}
SCSS
$custom: #784eaa;
$custom-light: #a281c4;
$custom-dark: #000000;
JSON
{
  "hex": "#784eaa",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 267.391,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.14413,
    "h": 302.7
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#784EAA
secondary
#ACC094
accent
#CD5B99
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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