#786178#786178

#786178 is a mid, muted purple. Relative luminance 0.139; OKLCH L 52.3% C 0.045 H 326.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#786178
RGBrgb(120, 97, 120)
HSLhsl(300, 11%, 43%)
HSVhsv(300, 19%, 47%)
CMYKcmyk(0%, 19.2%, 0%, 52.9%)
CIE-LABlab(44.09, 13.64, -9.40)
CIE-LCHlch(44.09, 16.57, 325.44°)
OKLaboklab(52.33% 0.0376 -0.0252)
OKLCHoklch(52.33% 0.045 326.2)
XYZxyz(15.4102, 13.8989, 19.6366)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786178 #617861
analogous
#6C6178 #786178 #78616C
triadic
#786178 #787861 #617878
tetradic
#786178 #786C61 #617861 #616C78
square
#786178 #786C61 #617861 #616C78
split-complementary
#786178 #6C7861 #61786C
monochromatic
#342A34 #564656 #786178 #977F97 #B3A1B3

Accessibility & contrast

On white

5.56
#786178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#786178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786178
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786178#FFFFFF#000000##FFFFFF
##7861781.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606679
Deuteranopia (green-blind)
#656977
Tritanopia (blue-blind)
#7A6369
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #786178;
/* rgb */ color: rgb(120, 97, 120);
/* oklch */ color: oklch(52.3% 0.045 326.2);
Tailwind
colors: {
  custom: {
    50: '#9f8e9f',
    500: '#786178',
    950: '#000000',
  },
}
SCSS
$custom: #786178;
$custom-light: #9f8e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#786178",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 10.599,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.04527,
    "h": 326.2
  },
  "luminance": 0.13899
}

Semantic roles & 50–950 ramp

primary
#786178
secondary
#93A293
accent
#B47474
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0C0E
muted
#7E7D7E

Preview Lab

Preview with #786178

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

Preview Lab → · Contrast checker → · Palette generator →

#786178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva