#784D8D#784D8D

#784D8D is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.5% C 0.110 H 313.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#784D8D
RGBrgb(120, 77, 141)
HSLhsl(280, 29%, 43%)
HSVhsv(280, 45%, 55%)
CMYKcmyk(14.9%, 45.4%, 0%, 44.7%)
CIE-LABlab(39.96, 30.25, -28.49)
CIE-LCHlch(39.96, 41.55, 316.72°)
OKLaboklab(49.47% 0.0759 -0.079)
OKLCHoklch(49.47% 0.11 313.9)
XYZxyz(15.2065, 11.2243, 26.5596)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784D8D #628D4D
analogous
#584D8D #784D8D #8D4D82
triadic
#784D8D #8D784D #4D8D78
tetradic
#784D8D #8D584D #628D4D #4D828D
square
#784D8D #8D584D #628D4D #4D828D
split-complementary
#784D8D #828D4D #4D8D58
monochromatic
#35223E #563765 #784D8D #976AAD #B391C3

Accessibility & contrast

On white

6.47
#784D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#784D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784D8D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784D8D#FFFFFF#000000##FFFFFF
##784D8D1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#765666
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784d8d;
/* rgb */ color: rgb(120, 77, 141);
/* oklch */ color: oklch(49.5% 0.110 313.9);
Tailwind
colors: {
  custom: {
    50: '#a080ae',
    500: '#784d8d',
    950: '#000000',
  },
}
SCSS
$custom: #784d8d;
$custom-light: #a080ae;
$custom-dark: #000000;
JSON
{
  "hex": "#784d8d",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 280.313,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49473,
    "c": 0.10954,
    "h": 313.9
  },
  "luminance": 0.11224
}

Semantic roles & 50–950 ramp

primary
#784D8D
secondary
#94AF86
accent
#C66283
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #784D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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