#784EA3#784EA3

#784EA3 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.9% C 0.135 H 304.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#784EA3
RGBrgb(120, 78, 163)
HSLhsl(270, 35%, 47%)
HSVhsv(270, 52%, 64%)
CMYKcmyk(26.4%, 52.1%, 0%, 36.1%)
CIE-LABlab(41.35, 34.94, -39.51)
CIE-LCHlch(41.35, 52.74, 311.49°)
OKLaboklab(50.9% 0.0774 -0.111)
OKLCHoklch(50.9% 0.135 304.9)
XYZxyz(17.0796, 12.0863, 36.0763)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EA3 #79A34E
analogous
#4E4EA3 #784EA3 #A34EA3
triadic
#784EA3 #A3784E #4EA378
tetradic
#784EA3 #A34E4E #79A34E #4EA3A3
square
#784EA3 #A34E4E #79A34E #4EA3A3
split-complementary
#784EA3 #A3A34E #4EA34E
monochromatic
#3B2650 #5A3A7A #784EA3 #9772BC #B59CD0

Accessibility & contrast

On white

6.15
#784EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#784EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EA3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EA3#FFFFFF#000000##FFFFFF
##784EA31.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#4062A1
Tritanopia (blue-blind)
#715D71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #784ea3;
/* rgb */ color: rgb(120, 78, 163);
/* oklch */ color: oklch(50.9% 0.135 304.9);
Tailwind
colors: {
  custom: {
    50: '#a181bf',
    500: '#784ea3',
    950: '#000000',
  },
}
SCSS
$custom: #784ea3;
$custom-light: #a181bf;
$custom-dark: #000000;
JSON
{
  "hex": "#784ea3",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 269.647,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.1353,
    "h": 304.9
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#784EA3
secondary
#A7BC91
accent
#CB5C95
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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