#784EA4#784EA4

#784EA4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.137 H 304.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#784EA4
RGBrgb(120, 78, 164)
HSLhsl(269, 36%, 47%)
HSVhsv(269, 52%, 64%)
CMYKcmyk(26.8%, 52.4%, 0%, 35.7%)
CIE-LABlab(41.41, 35.19, -40.01)
CIE-LCHlch(41.41, 53.29, 311.33°)
OKLaboklab(50.96% 0.0775 -0.1125)
OKLCHoklch(50.96% 0.137 304.6)
XYZxyz(17.1695, 12.1223, 36.5501)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EA4 #7AA44E
analogous
#4E4FA4 #784EA4 #A34EA4
triadic
#784EA4 #A4784E #4EA478
tetradic
#784EA4 #A44E4F #7AA44E #4EA4A3
square
#784EA4 #A44E4F #7AA44E #4EA4A3
split-complementary
#784EA4 #A4A34E #4FA44E
monochromatic
#3B2751 #5A3A7B #784EA4 #9773BC #B69CD0

Accessibility & contrast

On white

6.13
#784EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784EA4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EA4#FFFFFF#000000##FFFFFF
##784EA41.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A7
Deuteranopia (green-blind)
#3F62A2
Tritanopia (blue-blind)
#715E71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #784ea4;
/* rgb */ color: rgb(120, 78, 164);
/* oklch */ color: oklch(51.0% 0.137 304.6);
Tailwind
colors: {
  custom: {
    50: '#a181bf',
    500: '#784ea4',
    950: '#000000',
  },
}
SCSS
$custom: #784ea4;
$custom-light: #a181bf;
$custom-dark: #000000;
JSON
{
  "hex": "#784ea4",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 269.302,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.13657,
    "h": 304.6
  },
  "luminance": 0.12122
}

Semantic roles & 50–950 ramp

primary
#784EA4
secondary
#A7BD91
accent
#CC5C95
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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