#784F84#784F84

#784F84 is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.4% C 0.095 H 318.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#784F84
RGBrgb(120, 79, 132)
HSLhsl(286, 25%, 41%)
HSVhsv(286, 40%, 52%)
CMYKcmyk(9.1%, 40.2%, 0%, 48.2%)
CIE-LABlab(40.00, 27.04, -22.94)
CIE-LCHlch(40.00, 35.46, 319.69°)
OKLaboklab(49.37% 0.0709 -0.063)
OKLCHoklch(49.37% 0.095 318.4)
XYZxyz(14.7060, 11.2514, 23.2224)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F84 #5B844F
analogous
#5E4F84 #784F84 #844F76
triadic
#784F84 #84784F #4F8478
tetradic
#784F84 #845E4F #5B844F #4F7684
square
#784F84 #845E4F #5B844F #4F7684
split-complementary
#784F84 #76844F #4F845E
monochromatic
#322137 #55385E #784F84 #986AA6 #B391BD

Accessibility & contrast

On white

6.46
#784F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#784F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F84
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F84#FFFFFF#000000##FFFFFF
##784F841.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C86
Deuteranopia (green-blind)
#526082
Tritanopia (blue-blind)
#785663
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784f84;
/* rgb */ color: rgb(120, 79, 132);
/* oklch */ color: oklch(49.4% 0.095 318.4);
Tailwind
colors: {
  custom: {
    50: '#a081a8',
    500: '#784f84',
    950: '#000000',
  },
}
SCSS
$custom: #784f84;
$custom-light: #a081a8;
$custom-dark: #000000;
JSON
{
  "hex": "#784f84",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 286.415,
    "s": 25.118,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.09488,
    "h": 318.4
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#784F84
secondary
#8DAA85
accent
#C2667B
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0F0A0F
muted
#7E7C7F

Preview Lab

Preview with #784F84

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

Preview Lab → · Contrast checker → · Palette generator →

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