#784BB9#784BB9

#784BB9 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.167 H 299.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#784BB9
RGBrgb(120, 75, 185)
HSLhsl(265, 44%, 51%)
HSVhsv(265, 59%, 73%)
CMYKcmyk(35.1%, 59.5%, 0%, 27.5%)
CIE-LABlab(42.04, 42.25, -51.40)
CIE-LCHlch(42.04, 66.54, 309.42°)
OKLaboklab(51.84% 0.0821 -0.1458)
OKLCHoklch(51.84% 0.167 299.4)
XYZxyz(19.0166, 12.5278, 47.3058)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784BB9 #8CB94B
analogous
#4B55B9 #784BB9 #AF4BB9
triadic
#784BB9 #B9784B #4BB978
tetradic
#784BB9 #B94B55 #8CB94B #4BB9AF
square
#784BB9 #B94B55 #8CB94B #4BB9AF
split-complementary
#784BB9 #B9AF4B #55B94B
monochromatic
#3F2763 #5B388F #784BB9 #9977CA #BAA3DB

Accessibility & contrast

On white

5.99
#784BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#784BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784BB9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784BB9#FFFFFF#000000##FFFFFF
##784BB91.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B63BD
Deuteranopia (green-blind)
#2662B7
Tritanopia (blue-blind)
#6A627B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #784bb9;
/* rgb */ color: rgb(120, 75, 185);
/* oklch */ color: oklch(51.8% 0.167 299.4);
Tailwind
colors: {
  custom: {
    50: '#a37fcf',
    500: '#784bb9',
    950: '#000000',
  },
}
SCSS
$custom: #784bb9;
$custom-light: #a37fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#784bb9",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 264.545,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.16733,
    "h": 299.4
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#784BB9
secondary
#B4C898
accent
#D454A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #784BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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