#786378#786378

#786378 is a mid, muted purple. Relative luminance 0.143; OKLCH L 52.7% C 0.041 H 326.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#786378
RGBrgb(120, 99, 120)
HSLhsl(300, 10%, 43%)
HSVhsv(300, 18%, 47%)
CMYKcmyk(0%, 17.5%, 0%, 52.9%)
CIE-LABlab(44.62, 12.44, -8.60)
CIE-LCHlch(44.62, 15.12, 325.36°)
OKLaboklab(52.74% 0.0343 -0.023)
OKLCHoklch(52.74% 0.041 326.1)
XYZxyz(15.5973, 14.2731, 19.6990)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786378 #637863
analogous
#6D6378 #786378 #78636D
triadic
#786378 #787863 #637878
tetradic
#786378 #786D63 #637863 #636D78
square
#786378 #786D63 #637863 #636D78
split-complementary
#786378 #6D7863 #63786D
monochromatic
#352C35 #564756 #786378 #978197 #B3A3B3

Accessibility & contrast

On white

5.45
#786378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#786378 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786378
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786378#FFFFFF#000000##FFFFFF
##7863781.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626879
Deuteranopia (green-blind)
#666A77
Tritanopia (blue-blind)
#79656A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #786378;
/* rgb */ color: rgb(120, 99, 120);
/* oklch */ color: oklch(52.7% 0.041 326.1);
Tailwind
colors: {
  custom: {
    50: '#9f8f9f',
    500: '#786378',
    950: '#000000',
  },
}
SCSS
$custom: #786378;
$custom-light: #9f8f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#786378",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 9.589,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.04128,
    "h": 326.1
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#786378
secondary
#95A295
accent
#B37575
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0C0E
muted
#7E7D7E

Preview Lab

Preview with #786378

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

Preview Lab → · Contrast checker → · Palette generator →

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