#784D87#784D87

#784D87 is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.2% C 0.102 H 317.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#784D87
RGBrgb(120, 77, 135)
HSLhsl(284, 27%, 42%)
HSVhsv(284, 43%, 53%)
CMYKcmyk(11.1%, 43%, 0%, 47.1%)
CIE-LABlab(39.67, 28.89, -25.29)
CIE-LCHlch(39.67, 38.40, 318.80°)
OKLaboklab(49.16% 0.0748 -0.0698)
OKLCHoklch(49.16% 0.102 317)
XYZxyz(14.7721, 11.0505, 24.2718)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784D87 #5C874D
analogous
#5B4D87 #784D87 #874D79
triadic
#784D87 #87784D #4D8778
tetradic
#784D87 #875B4D #5C874D #4D7987
square
#784D87 #875B4D #5C874D #4D7987
split-complementary
#784D87 #79874D #4D875B
monochromatic
#332139 #553760 #784D87 #9868A9 #B38FBF

Accessibility & contrast

On white

6.54
#784D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#784D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784D87
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784D87#FFFFFF#000000##FFFFFF
##784D871.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#4F5F85
Tritanopia (blue-blind)
#785563
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #784d87;
/* rgb */ color: rgb(120, 77, 135);
/* oklch */ color: oklch(49.2% 0.102 317.0);
Tailwind
colors: {
  custom: {
    50: '#a080aa',
    500: '#784d87',
    950: '#000000',
  },
}
SCSS
$custom: #784d87;
$custom-light: #a080aa;
$custom-dark: #000000;
JSON
{
  "hex": "#784d87",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 284.483,
    "s": 27.358,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49161,
    "c": 0.10224,
    "h": 317
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#784D87
secondary
#8EAC84
accent
#C4647D
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0F0A10
muted
#7E7C7F

Preview Lab

Preview with #784D87

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

Preview Lab → · Contrast checker → · Palette generator →

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