#784F7B#784F7B

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

Color values

HEX#784F7B
RGBrgb(120, 79, 123)
HSLhsl(296, 22%, 40%)
HSVhsv(296, 36%, 48%)
CMYKcmyk(2.4%, 35.8%, 0%, 51.8%)
CIE-LABlab(39.61, 25.10, -18.04)
CIE-LCHlch(39.61, 30.91, 324.30°)
OKLaboklab(48.94% 0.0686 -0.0491)
OKLCHoklch(48.94% 0.084 324.4)
XYZxyz(14.1165, 11.0156, 20.1177)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F7B #527B4F
analogous
#624F7B #784F7B #7B4F68
triadic
#784F7B #7B784F #4F7B78
tetradic
#784F7B #7B624F #527B4F #4F687B
square
#784F7B #7B624F #527B4F #4F687B
split-complementary
#784F7B #687B4F #4F7B62
monochromatic
#2F1F30 #543756 #784F7B #9B699E #B48EB6

Accessibility & contrast

On white

6.56
#784F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784F7B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F7B#FFFFFF#000000##FFFFFF
##784F7B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #784f7b;
/* rgb */ color: rgb(120, 79, 123);
/* oklch */ color: oklch(48.9% 0.084 324.4);
Tailwind
colors: {
  custom: {
    50: '#a081a1',
    500: '#784f7b',
    950: '#000000',
  },
}
SCSS
$custom: #784f7b;
$custom-light: #a081a1;
$custom-dark: #000000;
JSON
{
  "hex": "#784f7b",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 295.909,
    "s": 21.782,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.08437,
    "h": 324.4
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#784F7B
secondary
#85A382
accent
#BE696F
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F0A0F
muted
#7E7C7E

Preview Lab

Preview with #784F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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