#784CB9#784CB9

#784CB9 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.166 H 299.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#784CB9
RGBrgb(120, 76, 185)
HSLhsl(264, 44%, 51%)
HSVhsv(264, 59%, 73%)
CMYKcmyk(35.1%, 58.9%, 0%, 27.5%)
CIE-LABlab(42.25, 41.70, -51.07)
CIE-LCHlch(42.25, 65.93, 309.23°)
OKLaboklab(51.99% 0.0808 -0.1448)
OKLCHoklch(51.99% 0.166 299.2)
XYZxyz(19.0850, 12.6645, 47.3286)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CB9 #8DB94C
analogous
#4C56B9 #784CB9 #AE4CB9
triadic
#784CB9 #B9784C #4CB978
tetradic
#784CB9 #B94C56 #8DB94C #4CB9AE
square
#784CB9 #B94C56 #8DB94C #4CB9AE
split-complementary
#784CB9 #B9AE4C #56B94C
monochromatic
#3F2764 #5B3890 #784CB9 #9978CA #BAA4DB

Accessibility & contrast

On white

5.94
#784CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#784CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CB9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CB9#FFFFFF#000000##FFFFFF
##784CB91.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1064BD
Deuteranopia (green-blind)
#2763B7
Tritanopia (blue-blind)
#6A637B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #784cb9;
/* rgb */ color: rgb(120, 76, 185);
/* oklch */ color: oklch(52.0% 0.166 299.2);
Tailwind
colors: {
  custom: {
    50: '#a380cf',
    500: '#784cb9',
    950: '#000000',
  },
}
SCSS
$custom: #784cb9;
$custom-light: #a380cf;
$custom-dark: #000000;
JSON
{
  "hex": "#784cb9",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 264.22,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.16586,
    "h": 299.2
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #784CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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