#784EAE#784EAE

#784EAE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.149 H 301.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#784EAE
RGBrgb(120, 78, 174)
HSLhsl(266, 38%, 49%)
HSVhsv(266, 55%, 68%)
CMYKcmyk(31%, 55.2%, 0%, 31.8%)
CIE-LABlab(42.00, 37.72, -45.01)
CIE-LCHlch(42.00, 58.72, 309.97°)
OKLaboklab(51.58% 0.0781 -0.1271)
OKLCHoklch(51.58% 0.149 301.6)
XYZxyz(18.1083, 12.4978, 41.4945)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EAE #84AE4E
analogous
#4E54AE #784EAE #A84EAE
triadic
#784EAE #AE784E #4EAE78
tetradic
#784EAE #AE4E54 #84AE4E #4EAEA8
square
#784EAE #AE4E54 #84AE4E #4EAEA8
split-complementary
#784EAE #AEA84E #54AE4E
monochromatic
#3E2859 #5B3B84 #784EAE #9877C2 #B8A1D5

Accessibility & contrast

On white

6.00
#784EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#784EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EAE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EAE#FFFFFF#000000##FFFFFF
##784EAE1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B1
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#6D6176
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784eae;
/* rgb */ color: rgb(120, 78, 174);
/* oklch */ color: oklch(51.6% 0.149 301.6);
Tailwind
colors: {
  custom: {
    50: '#a281c7',
    500: '#784eae',
    950: '#000000',
  },
}
SCSS
$custom: #784eae;
$custom-light: #a281c7;
$custom-dark: #000000;
JSON
{
  "hex": "#784eae",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 266.25,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51579,
    "c": 0.14915,
    "h": 301.6
  },
  "luminance": 0.12498
}

Semantic roles & 50–950 ramp

primary
#784EAE
secondary
#AFC296
accent
#CE5A9B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #784EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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