#784E89#784E89

#784E89 is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.4% C 0.103 H 315.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#784E89
RGBrgb(120, 78, 137)
HSLhsl(283, 27%, 42%)
HSVhsv(283, 43%, 54%)
CMYKcmyk(12.4%, 43.1%, 0%, 46.3%)
CIE-LABlab(40.00, 28.75, -26.00)
CIE-LCHlch(40.00, 38.76, 317.88°)
OKLaboklab(49.44% 0.0736 -0.0718)
OKLCHoklch(49.44% 0.103 315.7)
XYZxyz(14.9848, 11.2484, 25.0438)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784E89 #5F894E
analogous
#5B4E89 #784E89 #894E7D
triadic
#784E89 #89784E #4E8978
tetradic
#784E89 #895B4E #5F894E #4E7D89
square
#784E89 #895B4E #5F894E #4E7D89
split-complementary
#784E89 #7D894E #4E895B
monochromatic
#34223B #563862 #784E89 #986AAA #B391C0

Accessibility & contrast

On white

6.46
#784E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#784E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784E89
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784E89#FFFFFF#000000##FFFFFF
##784E891.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8B
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#775665
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784e89;
/* rgb */ color: rgb(120, 78, 137);
/* oklch */ color: oklch(49.4% 0.103 315.7);
Tailwind
colors: {
  custom: {
    50: '#a080ab',
    500: '#784e89',
    950: '#000000',
  },
}
SCSS
$custom: #784e89;
$custom-light: #a080ab;
$custom-dark: #000000;
JSON
{
  "hex": "#784e89",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 282.712,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4944,
    "c": 0.10281,
    "h": 315.7
  },
  "luminance": 0.11248
}

Semantic roles & 50–950 ramp

primary
#784E89
secondary
#91AD86
accent
#C46480
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0F0A10
muted
#7E7C7F

Preview Lab

Preview with #784E89

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

Preview Lab → · Contrast checker → · Palette generator →

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