#686178#686178

#686178 is a mid, muted violet. Relative luminance 0.128; OKLCH L 50.8% C 0.037 H 299.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#686178
RGBrgb(104, 97, 120)
HSLhsl(258, 11%, 43%)
HSVhsv(258, 19%, 47%)
CMYKcmyk(13.3%, 19.2%, 0%, 52.9%)
CIE-LABlab(42.53, 7.75, -11.89)
CIE-LCHlch(42.53, 14.20, 303.11°)
OKLaboklab(50.75% 0.0179 -0.0323)
OKLCHoklch(50.75% 0.037 299)
XYZxyz(13.3731, 12.8485, 19.5411)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686178 #717861
analogous
#616578 #686178 #736178
triadic
#686178 #786861 #617868
tetradic
#686178 #786165 #717861 #617873
square
#686178 #786165 #717861 #617873
split-complementary
#686178 #787361 #657861
monochromatic
#2D2A34 #4B4656 #686178 #867F97 #A6A1B3

Accessibility & contrast

On white

5.88
#686178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#686178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686178
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686178#FFFFFF#000000##FFFFFF
##6861781.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6479
Deuteranopia (green-blind)
#5E6477
Tritanopia (blue-blind)
#656469
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #686178;
/* rgb */ color: rgb(104, 97, 120);
/* oklch */ color: oklch(50.8% 0.037 299.0);
Tailwind
colors: {
  custom: {
    50: '#938d9f',
    500: '#686178',
    950: '#000000',
  },
}
SCSS
$custom: #686178;
$custom-light: #938d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#686178",
  "rgb": {
    "r": 104,
    "g": 97,
    "b": 120
  },
  "hsl": {
    "h": 258.261,
    "s": 10.599,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.0369,
    "h": 299
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#686178
secondary
#9DA293
accent
#B474A0
background
#F9F8F9
surface
#F1F0F2
border
#CBCBCC
text
#0D0C0E
muted
#7E7D7E

Preview Lab

Preview with #686178

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

Preview Lab → · Contrast checker → · Palette generator →

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