#784AA9#784AA9

#784AA9 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.149 H 303.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#784AA9
RGBrgb(120, 74, 169)
HSLhsl(269, 39%, 48%)
HSVhsv(269, 56%, 66%)
CMYKcmyk(29%, 56.2%, 0%, 33.7%)
CIE-LABlab(40.82, 38.72, -43.92)
CIE-LCHlch(40.82, 58.55, 311.40°)
OKLaboklab(50.62% 0.0832 -0.1239)
OKLCHoklch(50.62% 0.149 303.9)
XYZxyz(17.3544, 11.7553, 38.8831)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AA9 #7BA94A
analogous
#4A4BA9 #784AA9 #A84AA9
triadic
#784AA9 #A9784A #4AA978
tetradic
#784AA9 #A94A4B #7BA94A #4AA9A8
square
#784AA9 #A94A4B #7BA94A #4AA9A8
split-complementary
#784AA9 #A9A84A #4BA94A
monochromatic
#3C2554 #5A377E #784AA9 #9770C0 #B69AD3

Accessibility & contrast

On white

6.27
#784AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#784AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AA9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AA9#FFFFFF#000000##FFFFFF
##784AA91.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAC
Deuteranopia (green-blind)
#3660A7
Tritanopia (blue-blind)
#6F5C72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784aa9;
/* rgb */ color: rgb(120, 74, 169);
/* oklch */ color: oklch(50.6% 0.149 303.9);
Tailwind
colors: {
  custom: {
    50: '#a27ec3',
    500: '#784aa9',
    950: '#000000',
  },
}
SCSS
$custom: #784aa9;
$custom-light: #a27ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#784aa9",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 169
  },
  "hsl": {
    "h": 269.053,
    "s": 39.095,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50618,
    "c": 0.14923,
    "h": 303.9
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#784AA9
secondary
#A8BF8F
accent
#CF5996
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #784AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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