#784F87#784F87

#784F87 is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.5% C 0.099 H 316.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#784F87
RGBrgb(120, 79, 135)
HSLhsl(284, 26%, 42%)
HSVhsv(284, 41%, 53%)
CMYKcmyk(11.1%, 41.5%, 0%, 47.1%)
CIE-LABlab(40.14, 27.71, -24.56)
CIE-LCHlch(40.14, 37.02, 318.45°)
OKLaboklab(49.52% 0.0716 -0.0677)
OKLCHoklch(49.52% 0.099 316.6)
XYZxyz(14.9142, 11.3347, 24.3191)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F87 #5E874F
analogous
#5C4F87 #784F87 #874F7A
triadic
#784F87 #87784F #4F8778
tetradic
#784F87 #875C4F #5E874F #4F7A87
square
#784F87 #875C4F #5E874F #4F7A87
split-complementary
#784F87 #7A874F #4F875C
monochromatic
#33223A #563860 #784F87 #986BA8 #B391BF

Accessibility & contrast

On white

6.43
#784F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#784F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F87
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F87#FFFFFF#000000##FFFFFF
##784F871.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C89
Deuteranopia (green-blind)
#506085
Tritanopia (blue-blind)
#785664
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #784f87;
/* rgb */ color: rgb(120, 79, 135);
/* oklch */ color: oklch(49.5% 0.099 316.6);
Tailwind
colors: {
  custom: {
    50: '#a081aa',
    500: '#784f87',
    950: '#000000',
  },
}
SCSS
$custom: #784f87;
$custom-light: #a081aa;
$custom-dark: #000000;
JSON
{
  "hex": "#784f87",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 283.929,
    "s": 26.168,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49516,
    "c": 0.0985,
    "h": 316.6
  },
  "luminance": 0.11334
}

Semantic roles & 50–950 ramp

primary
#784F87
secondary
#90AC86
accent
#C3657E
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0F0A10
muted
#7E7C7F

Preview Lab

Preview with #784F87

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

Preview Lab → · Contrast checker → · Palette generator →

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