#784D78#784D78

#784D78 is a mid, moderate purple. Relative luminance 0.107; OKLCH L 48.4% C 0.085 H 326.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#784D78
RGBrgb(120, 77, 120)
HSLhsl(300, 22%, 39%)
HSVhsv(300, 36%, 47%)
CMYKcmyk(0%, 35.8%, 0%, 52.9%)
CIE-LABlab(39.00, 25.67, -17.13)
CIE-LCHlch(39.00, 30.86, 326.29°)
OKLaboklab(48.44% 0.0711 -0.0465)
OKLCHoklch(48.44% 0.085 326.8)
XYZxyz(13.7895, 10.6574, 19.0964)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784D78 #4D784D
analogous
#624D78 #784D78 #784D62
triadic
#784D78 #78784D #4D7878
tetradic
#784D78 #78624D #4D784D #4D6278
square
#784D78 #78624D #4D784D #4D6278
split-complementary
#784D78 #62784D #4D7862
monochromatic
#2D1D2D #533553 #784D78 #9D669D #B58BB5

Accessibility & contrast

On white

6.71
#784D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#784D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784D78
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784D78#FFFFFF#000000##FFFFFF
##784D781.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A587A
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#7B515D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #784d78;
/* rgb */ color: rgb(120, 77, 120);
/* oklch */ color: oklch(48.4% 0.085 326.8);
Tailwind
colors: {
  custom: {
    50: '#a07f9f',
    500: '#784d78',
    950: '#000000',
  },
}
SCSS
$custom: #784d78;
$custom-light: #a07f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#784d78",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 21.827,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.08495,
    "h": 326.8
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#784D78
secondary
#80A180
accent
#BE6969
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #784D78

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

Preview Lab → · Contrast checker → · Palette generator →

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