#784D71#784D71

#784D71 is a mid, moderate purple. Relative luminance 0.105; OKLCH L 48.1% C 0.078 H 332.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#784D71
RGBrgb(120, 77, 113)
HSLhsl(310, 22%, 39%)
HSVhsv(310, 36%, 47%)
CMYKcmyk(0%, 35.8%, 5.8%, 52.9%)
CIE-LABlab(38.71, 24.26, -13.23)
CIE-LCHlch(38.71, 27.64, 331.39°)
OKLaboklab(48.13% 0.069 -0.0356)
OKLCHoklch(48.13% 0.078 332.7)
XYZxyz(13.3801, 10.4937, 16.9403)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784D71 #4D7854
analogous
#694D78 #784D71 #784D5B
triadic
#784D71 #71784D #4D7178
tetradic
#784D71 #78694D #4D7854 #4D5B78
square
#784D71 #78694D #4D7854 #4D5B78
split-complementary
#784D71 #5B784D #4D7869
monochromatic
#2D1D2B #53354E #784D71 #9D6694 #B58BAE

Accessibility & contrast

On white

6.78
#784D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#784D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784D71
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784D71#FFFFFF#000000##FFFFFF
##784D711.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5772
Deuteranopia (green-blind)
#575D70
Tritanopia (blue-blind)
#7C4F5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #784d71;
/* rgb */ color: rgb(120, 77, 113);
/* oklch */ color: oklch(48.1% 0.078 332.7);
Tailwind
colors: {
  custom: {
    50: '#a07f99',
    500: '#784d71',
    950: '#000000',
  },
}
SCSS
$custom: #784d71;
$custom-light: #a07f99;
$custom-dark: #000000;
JSON
{
  "hex": "#784d71",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 113
  },
  "hsl": {
    "h": 309.767,
    "s": 21.827,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4813,
    "c": 0.07764,
    "h": 332.7
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#784D71
secondary
#80A185
accent
#BE7769
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #784D71

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

Preview Lab → · Contrast checker → · Palette generator →

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