#784F80#784F80

#784F80 is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.2% C 0.090 H 320.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#784F80
RGBrgb(120, 79, 128)
HSLhsl(290, 24%, 41%)
HSVhsv(290, 38%, 50%)
CMYKcmyk(6.3%, 38.3%, 0%, 49.8%)
CIE-LABlab(39.82, 26.17, -20.77)
CIE-LCHlch(39.82, 33.41, 321.56°)
OKLaboklab(49.17% 0.0699 -0.0569)
OKLCHoklch(49.17% 0.09 320.9)
XYZxyz(14.4375, 11.1440, 21.8084)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F80 #57804F
analogous
#5F4F80 #784F80 #804F6F
triadic
#784F80 #80784F #4F8078
tetradic
#784F80 #805F4F #57804F #4F6F80
square
#784F80 #805F4F #57804F #4F6F80
split-complementary
#784F80 #6F804F #4F805F
monochromatic
#312034 #55385A #784F80 #9969A3 #B38FBA

Accessibility & contrast

On white

6.50
#784F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#784F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F80
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F80#FFFFFF#000000##FFFFFF
##784F801.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495B82
Deuteranopia (green-blind)
#535F7E
Tritanopia (blue-blind)
#795561
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784f80;
/* rgb */ color: rgb(120, 79, 128);
/* oklch */ color: oklch(49.2% 0.090 320.9);
Tailwind
colors: {
  custom: {
    50: '#a081a5',
    500: '#784f80',
    950: '#000000',
  },
}
SCSS
$custom: #784f80;
$custom-light: #a081a5;
$custom-dark: #000000;
JSON
{
  "hex": "#784f80",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 128
  },
  "hsl": {
    "h": 290.204,
    "s": 23.671,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49174,
    "c": 0.09013,
    "h": 320.9
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#784F80
secondary
#8AA784
accent
#C06876
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0F0A0F
muted
#7E7C7F

Preview Lab

Preview with #784F80

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

Preview Lab → · Contrast checker → · Palette generator →

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