#786478#786478

#786478 is a mid, muted purple. Relative luminance 0.145; OKLCH L 52.9% C 0.039 H 326.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#786478
RGBrgb(120, 100, 120)
HSLhsl(300, 9%, 43%)
HSVhsv(300, 17%, 47%)
CMYKcmyk(0%, 16.7%, 0%, 52.9%)
CIE-LABlab(44.89, 11.84, -8.19)
CIE-LCHlch(44.89, 14.40, 325.31°)
OKLaboklab(52.95% 0.0326 -0.0219)
OKLCHoklch(52.95% 0.039 326.1)
XYZxyz(15.6926, 14.4638, 19.7308)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786478 #647864
analogous
#6E6478 #786478 #78646E
triadic
#786478 #787864 #647878
tetradic
#786478 #786E64 #647864 #646E78
square
#786478 #786E64 #647864 #646E78
split-complementary
#786478 #6E7864 #64786E
monochromatic
#352C35 #574857 #786478 #978297 #B3A4B3

Accessibility & contrast

On white

5.39
#786478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#786478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786478
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786478#FFFFFF#000000##FFFFFF
##7864781.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#676B77
Tritanopia (blue-blind)
#79666B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #786478;
/* rgb */ color: rgb(120, 100, 120);
/* oklch */ color: oklch(52.9% 0.039 326.1);
Tailwind
colors: {
  custom: {
    50: '#9f909f',
    500: '#786478',
    950: '#000000',
  },
}
SCSS
$custom: #786478;
$custom-light: #9f909f;
$custom-dark: #000000;
JSON
{
  "hex": "#786478",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 9.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52947,
    "c": 0.0393,
    "h": 326.1
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#786478
secondary
#96A296
accent
#B27676
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0C0E
muted
#7E7D7E

Preview Lab

Preview with #786478

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

Preview Lab → · Contrast checker → · Palette generator →

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