#784AB9#784AB9

#784AB9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.169 H 299.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#784AB9
RGBrgb(120, 74, 185)
HSLhsl(265, 44%, 51%)
HSVhsv(265, 60%, 73%)
CMYKcmyk(35.1%, 60%, 0%, 27.5%)
CIE-LABlab(41.83, 42.81, -51.74)
CIE-LCHlch(41.83, 67.15, 309.60°)
OKLaboklab(51.68% 0.0833 -0.1468)
OKLCHoklch(51.68% 0.169 299.6)
XYZxyz(18.9493, 12.3932, 47.2833)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AB9 #8BB94A
analogous
#4A53B9 #784AB9 #AF4AB9
triadic
#784AB9 #B9784A #4AB978
tetradic
#784AB9 #B94A53 #8BB94A #4AB9AF
square
#784AB9 #B94A53 #8BB94A #4AB9AF
split-complementary
#784AB9 #B9AF4A #53B94A
monochromatic
#3F2663 #5B378F #784AB9 #9976CA #BAA2DB

Accessibility & contrast

On white

6.04
#784AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#784AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AB9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AB9#FFFFFF#000000##FFFFFF
##784AB91.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0463BD
Deuteranopia (green-blind)
#2462B7
Tritanopia (blue-blind)
#6A617A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784ab9;
/* rgb */ color: rgb(120, 74, 185);
/* oklch */ color: oklch(51.7% 0.169 299.6);
Tailwind
colors: {
  custom: {
    50: '#a37fcf',
    500: '#784ab9',
    950: '#000000',
  },
}
SCSS
$custom: #784ab9;
$custom-light: #a37fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#784ab9",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 264.865,
    "s": 44.223,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.16879,
    "h": 299.6
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#784AB9
secondary
#B4C897
accent
#D4549F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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