#784F85#784F85

#784F85 is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.4% C 0.096 H 317.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#784F85
RGBrgb(120, 79, 133)
HSLhsl(286, 25%, 42%)
HSVhsv(286, 41%, 52%)
CMYKcmyk(9.8%, 40.6%, 0%, 47.8%)
CIE-LABlab(40.05, 27.26, -23.48)
CIE-LCHlch(40.05, 35.98, 319.26°)
OKLaboklab(49.42% 0.0711 -0.0646)
OKLCHoklch(49.42% 0.096 317.8)
XYZxyz(14.7748, 11.2789, 23.5845)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F85 #5C854F
analogous
#5D4F85 #784F85 #854F77
triadic
#784F85 #85784F #4F8578
tetradic
#784F85 #855D4F #5C854F #4F7785
square
#784F85 #855D4F #5C854F #4F7785
split-complementary
#784F85 #77854F #4F855D
monochromatic
#332138 #55385F #784F85 #986AA7 #B391BE

Accessibility & contrast

On white

6.45
#784F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#784F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F85
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F85#FFFFFF#000000##FFFFFF
##784F851.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C87
Deuteranopia (green-blind)
#516083
Tritanopia (blue-blind)
#785664
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784f85;
/* rgb */ color: rgb(120, 79, 133);
/* oklch */ color: oklch(49.4% 0.096 317.8);
Tailwind
colors: {
  custom: {
    50: '#a081a8',
    500: '#784f85',
    950: '#000000',
  },
}
SCSS
$custom: #784f85;
$custom-light: #a081a8;
$custom-dark: #000000;
JSON
{
  "hex": "#784f85",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 285.556,
    "s": 25.472,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.09608,
    "h": 317.8
  },
  "luminance": 0.11278
}

Semantic roles & 50–950 ramp

primary
#784F85
secondary
#8EAA86
accent
#C2667C
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0F0A0F
muted
#7E7C7F

Preview Lab

Preview with #784F85

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

Preview Lab → · Contrast checker → · Palette generator →

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