#784EA0#784EA0

#784EA0 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.7% C 0.132 H 305.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#784EA0
RGBrgb(120, 78, 160)
HSLhsl(271, 34%, 47%)
HSVhsv(271, 51%, 63%)
CMYKcmyk(25%, 51.2%, 0%, 37.3%)
CIE-LABlab(41.18, 34.20, -37.99)
CIE-LCHlch(41.18, 51.11, 311.99°)
OKLaboklab(50.72% 0.0771 -0.1065)
OKLCHoklch(50.72% 0.132 305.9)
XYZxyz(16.8140, 11.9800, 34.6775)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784EA0 #76A04E
analogous
#4F4EA0 #784EA0 #A04E9F
triadic
#784EA0 #A0784E #4EA078
tetradic
#784EA0 #A04F4E #76A04E #4E9FA0
square
#784EA0 #A04F4E #76A04E #4E9FA0
split-complementary
#784EA0 #9FA04E #4EA04F
monochromatic
#3A264E #593A77 #784EA0 #9671BA #B59ACE

Accessibility & contrast

On white

6.18
#784EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#784EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784EA0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784EA0#FFFFFF#000000##FFFFFF
##784EA01.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A3
Deuteranopia (green-blind)
#42619E
Tritanopia (blue-blind)
#725C6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #784ea0;
/* rgb */ color: rgb(120, 78, 160);
/* oklch */ color: oklch(50.7% 0.132 305.9);
Tailwind
colors: {
  custom: {
    50: '#a181bc',
    500: '#784ea0',
    950: '#000000',
  },
}
SCSS
$custom: #784ea0;
$custom-light: #a181bc;
$custom-dark: #000000;
JSON
{
  "hex": "#784ea0",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 270.732,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50715,
    "c": 0.13152,
    "h": 305.9
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#784EA0
secondary
#A4BB8F
accent
#CB5D93
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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