#784E87#784E87

#784E87 is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.3% C 0.100 H 316.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#784E87
RGBrgb(120, 78, 135)
HSLhsl(284, 27%, 42%)
HSVhsv(284, 42%, 53%)
CMYKcmyk(11.1%, 42.2%, 0%, 47.1%)
CIE-LABlab(39.90, 28.30, -24.93)
CIE-LCHlch(39.90, 37.71, 318.63°)
OKLaboklab(49.34% 0.0732 -0.0687)
OKLCHoklch(49.34% 0.1 316.8)
XYZxyz(14.8427, 11.1915, 24.2953)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784E87 #5D874E
analogous
#5C4E87 #784E87 #874E7A
triadic
#784E87 #87784E #4E8778
tetradic
#784E87 #875C4E #5D874E #4E7A87
square
#784E87 #875C4E #5D874E #4E7A87
split-complementary
#784E87 #7A874E #4E875C
monochromatic
#332139 #563860 #784E87 #986AA9 #B390BF

Accessibility & contrast

On white

6.49
#784E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #784E87
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784E87#FFFFFF#000000##FFFFFF
##784E871.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B89
Deuteranopia (green-blind)
#505F85
Tritanopia (blue-blind)
#785664
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784e87;
/* rgb */ color: rgb(120, 78, 135);
/* oklch */ color: oklch(49.3% 0.100 316.8);
Tailwind
colors: {
  custom: {
    50: '#a080aa',
    500: '#784e87',
    950: '#000000',
  },
}
SCSS
$custom: #784e87;
$custom-light: #a080aa;
$custom-dark: #000000;
JSON
{
  "hex": "#784e87",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 284.211,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49338,
    "c": 0.10037,
    "h": 316.8
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#784E87
secondary
#8FAC85
accent
#C3657E
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0F0A10
muted
#7E7C7F

Preview Lab

Preview with #784E87

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

Preview Lab → · Contrast checker → · Palette generator →

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