#784AB8#784AB8

#784AB8 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.168 H 299.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#784AB8
RGBrgb(120, 74, 184)
HSLhsl(265, 44%, 51%)
HSVhsv(265, 60%, 72%)
CMYKcmyk(34.8%, 59.8%, 0%, 27.8%)
CIE-LABlab(41.77, 42.55, -51.26)
CIE-LCHlch(41.77, 66.62, 309.69°)
OKLaboklab(51.61% 0.0833 -0.1454)
OKLCHoklch(51.61% 0.168 299.8)
XYZxyz(18.8441, 12.3512, 46.7293)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AB8 #8AB84A
analogous
#4A53B8 #784AB8 #AF4AB8
triadic
#784AB8 #B8784A #4AB878
tetradic
#784AB8 #B84A53 #8AB84A #4AB8AF
square
#784AB8 #B84A53 #8AB84A #4AB8AF
split-complementary
#784AB8 #B8AF4A #53B84A
monochromatic
#3F2661 #5B378D #784AB8 #9976C9 #BAA2DA

Accessibility & contrast

On white

6.05
#784AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#784AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AB8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AB8#FFFFFF#000000##FFFFFF
##784AB81.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0862BC
Deuteranopia (green-blind)
#2562B6
Tritanopia (blue-blind)
#6A617A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784ab8;
/* rgb */ color: rgb(120, 74, 184);
/* oklch */ color: oklch(51.6% 0.168 299.8);
Tailwind
colors: {
  custom: {
    50: '#a37ece',
    500: '#784ab8',
    950: '#000000',
  },
}
SCSS
$custom: #784ab8;
$custom-light: #a37ece;
$custom-dark: #000000;
JSON
{
  "hex": "#784ab8",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 184
  },
  "hsl": {
    "h": 265.091,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51614,
    "c": 0.16757,
    "h": 299.8
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#784AB8
secondary
#B3C796
accent
#D3549E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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