#784F7A#784F7A

#784F7A is a mid, moderate purple. Relative luminance 0.110; OKLCH L 48.9% C 0.083 H 325.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#784F7A
RGBrgb(120, 79, 122)
HSLhsl(297, 21%, 39%)
HSVhsv(297, 35%, 48%)
CMYKcmyk(1.6%, 35.2%, 0%, 52.2%)
CIE-LABlab(39.56, 24.90, -17.49)
CIE-LCHlch(39.56, 30.42, 324.91°)
OKLaboklab(48.9% 0.0683 -0.0476)
OKLCHoklch(48.9% 0.083 325.2)
XYZxyz(14.0542, 10.9907, 19.7897)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F7A #517A4F
analogous
#634F7A #784F7A #7A4F67
triadic
#784F7A #7A784F #4F7A78
tetradic
#784F7A #7A634F #517A4F #4F677A
square
#784F7A #7A634F #517A4F #4F677A
split-complementary
#784F7A #677A4F #4F7A63
monochromatic
#2F1F30 #533755 #784F7A #9B699E #B48EB6

Accessibility & contrast

On white

6.57
#784F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#784F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F7A
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F7A#FFFFFF#000000##FFFFFF
##784F7A1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7C
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#7A535F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #784f7a;
/* rgb */ color: rgb(120, 79, 122);
/* oklch */ color: oklch(48.9% 0.083 325.2);
Tailwind
colors: {
  custom: {
    50: '#a081a0',
    500: '#784f7a',
    950: '#000000',
  },
}
SCSS
$custom: #784f7a;
$custom-light: #a081a0;
$custom-dark: #000000;
JSON
{
  "hex": "#784f7a",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 122
  },
  "hsl": {
    "h": 297.209,
    "s": 21.393,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48895,
    "c": 0.08324,
    "h": 325.2
  },
  "luminance": 0.1099
}

Semantic roles & 50–950 ramp

primary
#784F7A
secondary
#84A382
accent
#BE6A6E
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #784F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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