#784E72#784E72

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

Color values

HEX#784E72
RGBrgb(120, 78, 114)
HSLhsl(309, 21%, 39%)
HSVhsv(309, 35%, 47%)
CMYKcmyk(0%, 35%, 5%, 52.9%)
CIE-LABlab(39.00, 23.87, -13.42)
CIE-LCHlch(39.00, 27.38, 330.65°)
OKLaboklab(48.36% 0.0676 -0.0361)
OKLCHoklch(48.36% 0.077 331.9)
XYZxyz(13.5072, 10.6573, 17.2619)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784E72 #4E7854
analogous
#694E78 #784E72 #784E5D
triadic
#784E72 #72784E #4E7278
tetradic
#784E72 #78694E #4E7854 #4E5D78
square
#784E72 #78694E #4E7854 #4E5D78
split-complementary
#784E72 #5D784E #4E7869
monochromatic
#2E1E2C #53364F #784E72 #9C6795 #B48CAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##784E72#FFFFFF#000000##FFFFFF
##784E721.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)
#4D5873
Deuteranopia (green-blind)
#575E71
Tritanopia (blue-blind)
#7C505B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #784e72;
/* rgb */ color: rgb(120, 78, 114);
/* oklch */ color: oklch(48.4% 0.077 331.9);
Tailwind
colors: {
  custom: {
    50: '#a0809a',
    500: '#784e72',
    950: '#000000',
  },
}
SCSS
$custom: #784e72;
$custom-light: #a0809a;
$custom-dark: #000000;
JSON
{
  "hex": "#784e72",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 308.571,
    "s": 21.212,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.07667,
    "h": 331.9
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#784E72
secondary
#81A185
accent
#BE766A
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #784E72

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

Preview Lab → · Contrast checker → · Palette generator →

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